summaryrefslogtreecommitdiffstats
path: root/Doc/library/select.rst
diff options
context:
space:
mode:
authorHynek Schlawack <hs@ox.cx>2012-05-21 09:01:54 (GMT)
committerHynek Schlawack <hs@ox.cx>2012-05-21 09:01:54 (GMT)
commitdfa465243c94b540099c413eb79b2774b40bb82e (patch)
tree3b67d5600dc9fa2be8843c024259336d73e69b1e /Doc/library/select.rst
parentf54c0604c852c2bf0b4d522cea7d94f205a795e8 (diff)
downloadcpython-dfa465243c94b540099c413eb79b2774b40bb82e.zip
cpython-dfa465243c94b540099c413eb79b2774b40bb82e.tar.gz
cpython-dfa465243c94b540099c413eb79b2774b40bb82e.tar.bz2
#14804: Remove [] around optional arguments with default values
Diffstat (limited to 'Doc/library/select.rst')
-rw-r--r--Doc/library/select.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/select.rst b/Doc/library/select.rst
index f1fd126..6f8df6e 100644
--- a/Doc/library/select.rst
+++ b/Doc/library/select.rst
@@ -181,7 +181,7 @@ Edge and Level Trigger Polling (epoll) Objects
Remove a registered file descriptor from the epoll object.
-.. method:: epoll.poll([timeout=-1[, maxevents=-1]])
+.. method:: epoll.poll(timeout=-1, maxevents=-1)
Wait for events. timeout in seconds (float)
@@ -285,7 +285,7 @@ Kqueue Objects
Create a kqueue object from a given file descriptor.
-.. method:: kqueue.control(changelist, max_events[, timeout=None]) -> eventlist
+.. method:: kqueue.control(changelist, max_events, timeout=None) -> eventlist
Low level interface to kevent