Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.9]bpo-41857: Document timeout arguments in select module (GH-22406) #30742

Merged
merged 1 commit into from Jan 21, 2022

Conversation

taleinat
Copy link
Contributor

@taleinat taleinat commented Jan 21, 2022

The docstring for the poll() methods of the select.poll and select.devpoll classes did not describe the expected units of the timeout argument (milliseconds). Previously this information was only available from the online documentation.

This is a potential source of confusion, because other poll() methods in the select module, such as epoll and kqueue Polling objects, use units of seconds (and were documented).

Include the units in the docstring description so that this information is at least available from interactive help.

Co-authored-by: Zane Bitter zbitter@redhat.com

https://bugs.python.org/issue41857

…select.depoll() doc-strings (pythonGH-22406).

(cherry picked from commit 27df756)

Co-authored-by: Zane Bitter <zbitter@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants