Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mypy/typeshed/stdlib/gettext.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class NullTranslations:
class GNUTranslations(NullTranslations):
LE_MAGIC: Final[int]
BE_MAGIC: Final[int]
CONTEXT: Final[str]
CONTEXT: str
VERSIONS: Sequence[int]

@overload # ignores incompatible overloads
Expand Down
3 changes: 2 additions & 1 deletion mypy/typeshed/stdlib/sqlite3/dbapi2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -374,8 +374,9 @@ class Cursor(Iterator[Any]):
arraysize: int
@property
def connection(self) -> Connection: ...
# May be None, but using | Any instead to avoid slightly annoying false positives.
@property
def description(self) -> tuple[tuple[str, None, None, None, None, None, None], ...] | None: ...
def description(self) -> tuple[tuple[str, None, None, None, None, None, None], ...] | Any: ...
@property
def lastrowid(self) -> int | None: ...
row_factory: Callable[[Cursor, Row[Any]], object] | None
Expand Down