mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-16 11:01:27 +08:00
Fix __new__ issues in 3.14 (#14626)
This commit is contained in:
1 parent
85834194c0
commit
92eab7b773
3 files changed
+16
-9
No files matched your search
+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