[Python-checkins] r77120 - in python/trunk: Doc/library/select.rst Modules/selectmodule.c
georg.brandl
python-checkins at python.org
Tue Dec 29 22:09:18 CET 2009
Author: georg.brandl
Date: Tue Dec 29 22:09:17 2009
New Revision: 77120
Log:
#7595: fix typo in argument default constant.
Modified:
python/trunk/Doc/library/select.rst
python/trunk/Modules/selectmodule.c
Modified: python/trunk/Doc/library/select.rst
==============================================================================
--- python/trunk/Doc/library/select.rst (original)
+++ python/trunk/Doc/library/select.rst Tue Dec 29 22:09:17 2009
@@ -50,7 +50,7 @@
.. versionadded:: 2.6
-.. function:: kevent(ident, filter=KQ_FILTER_READ, flags=KQ_ADD, fflags=0, data=0, udata=0)
+.. function:: kevent(ident, filter=KQ_FILTER_READ, flags=KQ_EV_ADD, fflags=0, data=0, udata=0)
(Only supported on BSD.) Returns a kernel event object object; see section
:ref:`kevent-objects` below for the methods supported by kqueue objects.
Modified: python/trunk/Modules/selectmodule.c
==============================================================================
--- python/trunk/Modules/selectmodule.c (original)
+++ python/trunk/Modules/selectmodule.c Tue Dec 29 22:09:17 2009
@@ -1161,7 +1161,7 @@
#endif
PyDoc_STRVAR(kqueue_event_doc,
-"kevent(ident, filter=KQ_FILTER_READ, flags=KQ_ADD, fflags=0, data=0, udata=0)\n\
+"kevent(ident, filter=KQ_FILTER_READ, flags=KQ_EV_ADD, fflags=0, data=0, udata=0)\n\
\n\
This object is the equivalent of the struct kevent for the C API.\n\
\n\
More information about the Python-checkins
mailing list