summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.2.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-09-10 20:43:41 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2014-09-10 20:43:41 (GMT)
commit148679982f851e2952b9d34e6ae7932f89650c1d (patch)
tree38a4387a2b29b3a3e0bea0944a0dfea2006ce340 /Doc/whatsnew/3.2.rst
parent964feabd79633624f5865a0faac7f8f727b176ce (diff)
downloadcpython-148679982f851e2952b9d34e6ae7932f89650c1d.zip
cpython-148679982f851e2952b9d34e6ae7932f89650c1d.tar.gz
cpython-148679982f851e2952b9d34e6ae7932f89650c1d.tar.bz2
Issue #22369: Change "context manager protocol" to "context management protocol".
Diffstat (limited to 'Doc/whatsnew/3.2.rst')
-rw-r--r--Doc/whatsnew/3.2.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst
index aa69df2..c4047c5 100644
--- a/Doc/whatsnew/3.2.rst
+++ b/Doc/whatsnew/3.2.rst
@@ -522,7 +522,7 @@ Some smaller changes made to the core Python language are:
(Proposed and implemented by Mark Dickinson; :issue:`9337`.)
* :class:`memoryview` objects now have a :meth:`~memoryview.release()` method
- and they also now support the context manager protocol. This allows timely
+ and they also now support the context management protocol. This allows timely
release of any resources that were acquired when requesting a buffer from the
original object.
@@ -1315,7 +1315,7 @@ contexts that correspond to the decimal interchange formats specified in IEEE
ftp
---
-The :class:`ftplib.FTP` class now supports the context manager protocol to
+The :class:`ftplib.FTP` class now supports the context management protocol to
unconditionally consume :exc:`socket.error` exceptions and to close the FTP
connection when done::
@@ -1595,7 +1595,7 @@ The :mod:`socket` module has two new improvements.
descriptor. The latter can then be reused for other purposes.
(Added by Antoine Pitrou; :issue:`8524`.)
-* :func:`socket.create_connection` now supports the context manager protocol
+* :func:`socket.create_connection` now supports the context management protocol
to unconditionally consume :exc:`socket.error` exceptions and to close the
socket when done.
(Contributed by Giampaolo RodolĂ ; :issue:`9794`.)