summaryrefslogtreecommitdiffstats
path: root/Modules
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 /Modules
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 'Modules')
-rw-r--r--Modules/ossaudiodev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/ossaudiodev.c b/Modules/ossaudiodev.c
index be90016..2d0dd09 100644
--- a/Modules/ossaudiodev.c
+++ b/Modules/ossaudiodev.c
@@ -894,7 +894,7 @@ static PyMethodDef oss_methods[] = {
/* Aliases for backwards compatibility */
{ "flush", (PyCFunction)oss_sync, METH_VARARGS },
- /* Support for the context manager protocol */
+ /* Support for the context management protocol */
{ "__enter__", oss_self, METH_NOARGS },
{ "__exit__", oss_exit, METH_VARARGS },
@@ -906,7 +906,7 @@ static PyMethodDef oss_mixer_methods[] = {
{ "close", (PyCFunction)oss_mixer_close, METH_NOARGS },
{ "fileno", (PyCFunction)oss_mixer_fileno, METH_NOARGS },
- /* Support for the context manager protocol */
+ /* Support for the context management protocol */
{ "__enter__", oss_self, METH_NOARGS },
{ "__exit__", oss_exit, METH_VARARGS },