mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-03 06:28:28 +08:00
Fix __new__ issues in 3.14 (#14626)
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@ PAGESIZE: Final[int]
|
||||
|
||||
class mmap:
|
||||
if sys.platform == "win32":
|
||||
def __init__(self, fileno: int, length: int, tagname: str | None = None, access: int = 0, offset: int = 0) -> None: ...
|
||||
def __new__(self, fileno: int, length: int, tagname: str | None = None, access: int = 0, offset: int = 0) -> Self: ...
|
||||
else:
|
||||
if sys.version_info >= (3, 13):
|
||||
def __new__(
|
||||
|
||||
Reference in New Issue
Block a user