mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
gh-140808: Remove __class_getitem__ from mailbox._ProxyFile (#140838)
Co-authored-by: Emma Smith <emma@emmatyping.dev>
This commit is contained in:
parent
6d45cd8dbb
commit
9e5628ad68
3 changed files with 3 additions and 4 deletions
|
|
@ -2090,8 +2090,6 @@ def closed(self):
|
|||
return False
|
||||
return self._file.closed
|
||||
|
||||
__class_getitem__ = classmethod(GenericAlias)
|
||||
|
||||
|
||||
class _PartialFile(_ProxyFile):
|
||||
"""A read-only wrapper of part of a file."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue