Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
2f3bd836
Commit
2f3bd836
authored
16 years ago
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#3852: fix some select.kqueue and kevent docs.
parent
e1d9dca7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
Doc/library/select.rst
Doc/library/select.rst
+3
-3
Modules/selectmodule.c
Modules/selectmodule.c
+1
-1
No files found.
Doc/library/select.rst
View file @
2f3bd836
...
...
@@ -50,7 +50,7 @@ The module defines the following:
.. versionadded:: 2.6
.. function:: k
queue
(ident, filter=KQ_FILTER_READ, flags=KQ_ADD, fflags=0, data=0, udata=0)
.. function:: k
event
(ident, filter=KQ_FILTER_READ, flags=KQ_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.
...
...
@@ -272,12 +272,12 @@ Kqueue Objects
Return the file descriptor number of the control fd.
.. method::
epoll
.fromfd(fd)
.. method::
kqueue
.fromfd(fd)
Create a kqueue object from a given file descriptor.
.. method::
control(changelist, max_events=0
[, timeout=None]) -> eventlist
.. method::
kqueue.control(changelist, max_events
[, timeout=None]) -> eventlist
Low level interface to kevent
...
...
This diff is collapsed.
Click to expand it.
Modules/selectmodule.c
View file @
2f3bd836
...
...
@@ -1607,7 +1607,7 @@ kqueue_queue_control(kqueue_queue_Object *self, PyObject *args)
}
PyDoc_STRVAR
(
kqueue_queue_control_doc
,
"control(changelist, max_events
=0
[, timeout=None]) -> eventlist
\n
\
"control(changelist, max_events[, timeout=None]) -> eventlist
\n
\
\n
\
Calls the kernel kevent function.
\n
\
- changelist must be a list of kevent objects describing the changes
\n
\
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment