mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Issue #22369: Change "context manager protocol" to "context management protocol".
This commit is contained in:
parent
964feabd79
commit
148679982f
16 changed files with 41 additions and 41 deletions
|
@ -1980,7 +1980,7 @@ class _ProxyFile:
|
|||
return result
|
||||
|
||||
def __enter__(self):
|
||||
"""Context manager protocol support."""
|
||||
"""Context management protocol support."""
|
||||
return self
|
||||
|
||||
def __exit__(self, *exc):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue