mirror of https://github.com/python/cpython
#7595: fix typo in argument default constant.
This commit is contained in:
parent
8e3e1d6016
commit
fa1ffb69c4
|
@ -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.
|
||||
|
|
|
@ -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\
|
||||
|
|
Loading…
Reference in New Issue