]> granicus.if.org Git - python/commitdiff
#7595: fix typo in argument default constant.
authorGeorg Brandl <georg@python.org>
Tue, 29 Dec 2009 21:09:17 +0000 (21:09 +0000)
committerGeorg Brandl <georg@python.org>
Tue, 29 Dec 2009 21:09:17 +0000 (21:09 +0000)
Doc/library/select.rst
Modules/selectmodule.c

index c0d1f3d9501cf07c23ac50aaa07ee4c10079e4ec..04d6208b23fe1c3b5da8ccb9896f9530d5ddfbf6 100644 (file)
@@ -50,7 +50,7 @@ The module defines the following:
    .. 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.
index acbea7a7605b574ae76a243fe51c67ee08ef861b..f243a1d0a2b68071d26e1e6104680fee7ec94c7f 100644 (file)
@@ -1161,7 +1161,7 @@ static PyTypeObject pyEpoll_Type = {
 #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\