Skip to content

Commit c8a8199

Browse files
authored
Bump pyright to 1.1.339 (#11084)
1 parent 4246c54 commit c8a8199

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,5 +96,5 @@ extra-standard-library = [
9696
known-first-party = ["parse_metadata", "utils"]
9797

9898
[tool.typeshed]
99-
pyright_version = "1.1.334"
99+
pyright_version = "1.1.339"
100100
oldest_supported_python = "3.7"

stdlib/_ctypes.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ class _CDataMeta(type):
5151
# By default mypy complains about the following two methods, because strictly speaking cls
5252
# might not be a Type[_CT]. However this can never actually happen, because the only class that
5353
# uses _CDataMeta as its metaclass is _CData. So it's safe to ignore the errors here.
54-
def __mul__(cls: type[_CT], other: int) -> type[Array[_CT]]: ... # type: ignore[misc] # pyright: ignore[reportGeneralTypeIssues]
55-
def __rmul__(cls: type[_CT], other: int) -> type[Array[_CT]]: ... # type: ignore[misc] # pyright: ignore[reportGeneralTypeIssues]
54+
def __mul__(cls: type[_CT], other: int) -> type[Array[_CT]]: ... # type: ignore[misc]
55+
def __rmul__(cls: type[_CT], other: int) -> type[Array[_CT]]: ... # type: ignore[misc]
5656

5757
class _CData(metaclass=_CDataMeta):
5858
_b_base_: int

0 commit comments

Comments
 (0)