Skip to content

Commit e502a47

Browse files
committed
Minor type corrections
1 parent f58a115 commit e502a47

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apsw/ext.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def register_converter(self, name: str, callable: Callable[[apsw.SQLiteValue], A
180180
"""Registers a callable that converts from a SQLite value"""
181181
self.converters[name] = callable
182182

183-
def __call__(self, connection: apsw.Connection) -> TypeConverterCursor:
183+
def __call__(self, connection: apsw.Connection) -> TypesConverterCursorFactory.TypeConverterCursor:
184184
"Returns a new convertor :class:`cursor <apsw.Cursor>` for the `connection`"
185185
return TypesConverterCursorFactory.TypeConverterCursor(connection, self)
186186

@@ -2224,7 +2224,7 @@ def get_column_names(row: Any) -> tuple[Sequence[str], VTColumnAccess]:
22242224
* - Type
22252225
- Access
22262226
- Column names From
2227-
* - :external:func:`dataclasses.is_dataclass`
2227+
* - :func:`dataclasses.is_dataclass`
22282228
- :attr:`VTColumnAccess.By_Attr`
22292229
- :func:`dataclasses.fields`
22302230
* - :func:`isinstance <isinstance>`\(:class:`tuple`) and :func:`hasattr <hasattr>`\(:code:`"_fields"`) - eg :func:`~collections.namedtuple`

0 commit comments

Comments
 (0)