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
050f9ea4
Commit
050f9ea4
authored
Apr 01, 2014
by
Andrew Svetlov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the doc: add deprecation warning in select module.
parent
04d17d30
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
Doc/library/select.rst
Doc/library/select.rst
+5
-1
No files found.
Doc/library/select.rst
View file @
050f9ea4
...
...
@@ -377,9 +377,13 @@ linearly scanned again. :c:func:`select` is O(highest file descriptor), while
Modifies an already registered fd. This has the same effect as
``register(fd, eventmask)``. Attempting to modify a file descriptor
that was never registered causes an :exc:`
IO
Error` exception with errno
that was never registered causes an :exc:`
OS
Error` exception with errno
:const:`ENOENT` to be raised.
.. deprecated:: 3.3
Instead of :exc:`IOError` the :exc:`OSError` exception is used now.
.. method:: poll.unregister(fd)
...
...
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