Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion stdlib/@tests/stubtest_allowlists/py315.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ _frozen_importlib_external.SourceLoader.source_to_code
dataclasses.MISSING
dataclasses._MISSING_TYPE
dataclasses.field
mailbox._ProxyFile.__class_getitem__

# =============================================================
# Allowlist entries that cannot or should not be fixed; >= 3.15
Expand Down
3 changes: 2 additions & 1 deletion stdlib/mailbox.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,8 @@ class _ProxyFile:
def flush(self) -> None: ...
@property
def closed(self) -> bool: ...
def __class_getitem__(cls, item: Any, /) -> GenericAlias: ...
if sys.version_info < (3, 15):
def __class_getitem__(cls, item: Any, /) -> GenericAlias: ...

class _PartialFile(_ProxyFile):
def __init__(self, f: _GetFileReturn, start: int | None = None, stop: int | None = None) -> None: ...
Expand Down