We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14968e6 commit 15f1aeaCopy full SHA for 15f1aea
1 file changed
stdlib/mmap.pyi
@@ -34,7 +34,7 @@ PAGESIZE: Final[int]
34
@disjoint_base
35
class mmap:
36
if sys.platform == "win32":
37
- def __new__(self, fileno: int, length: int, tagname: str | None = None, access: int = 0, offset: int = 0) -> Self: ...
+ def __new__(cls, fileno: int, length: int, tagname: str | None = None, access: int = 0, offset: int = 0) -> Self: ...
38
else:
39
if sys.version_info >= (3, 13):
40
def __new__(
0 commit comments