summaryrefslogtreecommitdiffstats
path: root/Doc/library/select.rst
diff options
context:
space:
mode:
authorHynek Schlawack <hs@ox.cx>2012-05-21 11:35:03 (GMT)
committerHynek Schlawack <hs@ox.cx>2012-05-21 11:35:03 (GMT)
commit87d8200978e519dabb9ef0d1d982c17b6bf9fba9 (patch)
tree7c57be670f55b29c9af6b336b3ea7fd1bd8e56ff /Doc/library/select.rst
parent44f7cf0b2f48a4d2073382423e1b15f0d76f2551 (diff)
parentdfa465243c94b540099c413eb79b2774b40bb82e (diff)
downloadcpython-87d8200978e519dabb9ef0d1d982c17b6bf9fba9.zip
cpython-87d8200978e519dabb9ef0d1d982c17b6bf9fba9.tar.gz
cpython-87d8200978e519dabb9ef0d1d982c17b6bf9fba9.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 d9d802b..eb85643 100644
--- a/Doc/library/select.rst
+++ b/Doc/library/select.rst
@@ -267,7 +267,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)
@@ -371,7 +371,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