summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-09-10 20:46:14 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2014-09-10 20:46:14 (GMT)
commit581448be80a29264ca3e5821a18dc63f66cf3abc (patch)
treef43eb466bb06c971ac6985ec114d5da17abdc950 /Misc
parentceaf6827e2c196512184ec9212b356d7ac0d6224 (diff)
downloadcpython-581448be80a29264ca3e5821a18dc63f66cf3abc.zip
cpython-581448be80a29264ca3e5821a18dc63f66cf3abc.tar.gz
cpython-581448be80a29264ca3e5821a18dc63f66cf3abc.tar.bz2
Issue #22369: Change "context manager protocol" to "context management protocol".
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS6
1 files changed, 3 insertions, 3 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 2db7d5a..caaa693 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -5120,7 +5120,7 @@ Library
- Issue #7494: Fix a crash in ``_lsprof`` (cProfile) after clearing the profiler,
reset also the pointer to the current pointer context.
-- Issue #7232: Add support for the context manager protocol to the
+- Issue #7232: Add support for the context management protocol to the
``tarfile.TarFile`` class.
- Issue #7250: Fix info leak of os.environ across multi-run uses of
@@ -6870,7 +6870,7 @@ Library
- Issue #1696199: Add collections.Counter() for rapid and convenient counting.
-- Issue #3860: GzipFile and BZ2File now support the context manager protocol.
+- Issue #3860: GzipFile and BZ2File now support the context management protocol.
- Issue #4272: Add an optional argument to the GzipFile constructor to override
the timestamp in the gzip stream. The default value remains the current time.
@@ -10039,7 +10039,7 @@ Extension Modules
parameter.
- _winreg's HKEY object has gained __enter__ and __exit__ methods to
- support the context manager protocol. The _winreg module also
+ support the context management protocol. The _winreg module also
gained a new function ``ExpandEnvironmentStrings`` to expand
REG_EXPAND_SZ keys.