summaryrefslogtreecommitdiff
path: root/Modules/ossaudiodev.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-09-10 23:43:41 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2014-09-10 23:43:41 +0300
commit8645a93783a76b46ea86f4a5cb875a4f022b7467 (patch)
tree45247b24e6567ad9dadcf2dc5318a9ab234f3909 /Modules/ossaudiodev.c
parent3319792fa12c91bd19d5f91ec45fc4ad9ccb373a (diff)
downloadcpython-8645a93783a76b46ea86f4a5cb875a4f022b7467.tar.gz
Issue #22369: Change "context manager protocol" to "context management protocol".
Diffstat (limited to 'Modules/ossaudiodev.c')
-rw-r--r--Modules/ossaudiodev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/ossaudiodev.c b/Modules/ossaudiodev.c
index be90016347..2d0dd098d8 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 },