[Python-checkins] r81431 - python/trunk/Doc/library/telnetlib.rst
georg.brandl
python-checkins at python.org
Fri May 21 23:30:47 CEST 2010
Author: georg.brandl
Date: Fri May 21 23:30:47 2010
New Revision: 81431
Log:
#8707: remove duplicate paragraph part.
Modified:
python/trunk/Doc/library/telnetlib.rst
Modified: python/trunk/Doc/library/telnetlib.rst
==============================================================================
--- python/trunk/Doc/library/telnetlib.rst (original)
+++ python/trunk/Doc/library/telnetlib.rst Fri May 21 23:30:47 2010
@@ -28,16 +28,11 @@
:class:`Telnet` represents a connection to a Telnet server. The instance is
initially not connected by default; the :meth:`open` method must be used to
establish a connection. Alternatively, the host name and optional port
- and timeout can be passed to the constructor, in which case the connection to
- the server will be established before the constructor returns. The optional
- *timeout* parameter specifies a timeout in seconds for the connection attempt (if
- not specified, the global default timeout setting will be used).
-
number can be passed to the constructor, to, in which case the connection to
- the server will be established before the constructor returns. The optional
+ the server will be established before the constructor returns. The optional
*timeout* parameter specifies a timeout in seconds for blocking operations
- like the connection attempt (if not specified, or passed as None, the global
- default timeout setting will be used).
+ like the connection attempt (if not specified, the global default timeout
+ setting will be used).
Do not reopen an already connected instance.
More information about the Python-checkins
mailing list