[issue12126] incorrect select documentation

Jean-Paul Calderone report at bugs.python.org
Fri May 20 02:23:52 CEST 2011


New submission from Jean-Paul Calderone <invalid at example.invalid>:

http://docs.python.org/py3k/howto/sockets.html#non-blocking-sockets

"And if you put a socket in more than one input list, it will only be (at most) in one output list."


>>> import socket
>>> s = socket.socket()
>>> s.connect(('localhost', 22))
>>> import select
>>> select.select([s], [s], [])
([<socket._socketobject object at 0xb764333c>], [<socket._socketobject object at 0xb764333c>], [])
>>>

----------
assignee: docs at python
components: Documentation
messages: 136350
nosy: docs at python, exarkun
priority: normal
severity: normal
status: open
title: incorrect select documentation
type: behavior

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12126>
_______________________________________


More information about the Python-bugs-list mailing list