[Twisted-Python] CONNECTION_LOST not an integer (docstring error?)
Michael McNeil Forbes
mforbes at physics.ubc.ca
Wed Oct 1 14:00:29 EDT 2008
Several places in the documentation refer to the method writeSomeData
() returning a negative integer if the connection is lost. (In
particular /api/
twisted.internet.abstract.FileDescriptor.html#writeSomeData.)
However, twisted.internet.main.CONNECTION_LOST is often returned
which is not an integer.
The documentation and code should be brought into sync unless there
is a more up-to-date reference that I am missing.
Thanks,
Michael.
More information about the Twisted-Python
mailing list