diff --git a/pyproject.toml b/pyproject.toml index 35aa46971..c32392828 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -96,5 +96,5 @@ extra-standard-library = [ known-first-party = ["parse_metadata", "utils"] [tool.typeshed] -pyright_version = "1.1.334" +pyright_version = "1.1.339" oldest_supported_python = "3.7" diff --git a/stdlib/_ctypes.pyi b/stdlib/_ctypes.pyi index 495e29dfd..1e0188b25 100644 --- a/stdlib/_ctypes.pyi +++ b/stdlib/_ctypes.pyi @@ -51,8 +51,8 @@ class _CDataMeta(type): # By default mypy complains about the following two methods, because strictly speaking cls # might not be a Type[_CT]. However this can never actually happen, because the only class that # uses _CDataMeta as its metaclass is _CData. So it's safe to ignore the errors here. - def __mul__(cls: type[_CT], other: int) -> type[Array[_CT]]: ... # type: ignore[misc] # pyright: ignore[reportGeneralTypeIssues] - def __rmul__(cls: type[_CT], other: int) -> type[Array[_CT]]: ... # type: ignore[misc] # pyright: ignore[reportGeneralTypeIssues] + def __mul__(cls: type[_CT], other: int) -> type[Array[_CT]]: ... # type: ignore[misc] + def __rmul__(cls: type[_CT], other: int) -> type[Array[_CT]]: ... # type: ignore[misc] class _CData(metaclass=_CDataMeta): _b_base_: int