Kaydet (Commit) fa1ffb69 authored tarafından Georg Brandl's avatar Georg Brandl

#7595: fix typo in argument default constant.

üst 8e3e1d60
...@@ -50,7 +50,7 @@ The module defines the following: ...@@ -50,7 +50,7 @@ The module defines the following:
.. versionadded:: 2.6 .. 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 (Only supported on BSD.) Returns a kernel event object object; see section
:ref:`kevent-objects` below for the methods supported by kqueue objects. :ref:`kevent-objects` below for the methods supported by kqueue objects.
......
...@@ -1161,7 +1161,7 @@ static PyTypeObject pyEpoll_Type = { ...@@ -1161,7 +1161,7 @@ static PyTypeObject pyEpoll_Type = {
#endif #endif
PyDoc_STRVAR(kqueue_event_doc, 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\ \n\
This object is the equivalent of the struct kevent for the C API.\n\ This object is the equivalent of the struct kevent for the C API.\n\
\n\ \n\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment