Changeset 391 for python/trunk/Doc/library/telnetlib.rst
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Doc/library/telnetlib.rst
r2 r391 1 2 1 :mod:`telnetlib` --- Telnet client 3 2 ================================== … … 9 8 10 9 .. index:: single: protocol; Telnet 10 11 **Source code:** :source:`Lib/telnetlib.py` 12 13 -------------- 11 14 12 15 The :mod:`telnetlib` module provides a :class:`Telnet` class that implements the … … 29 32 initially not connected by default; the :meth:`open` method must be used to 30 33 establish a connection. Alternatively, the host name and optional port 31 and timeout can be passed to the constructor, in which case the connection to34 number can be passed to the constructor, to, in which case the connection to 32 35 the server will be established before the constructor returns. The optional 33 *timeout* parameter specifies a timeout in seconds for the connection attempt (if34 not specified, the global default timeout setting will be used).35 36 number can be passed to the constructor, to, in which case the connection to37 the server will be established before the constructor returns. The optional38 36 *timeout* parameter specifies a timeout in seconds for blocking operations 39 like the connection attempt (if not specified, or passed as None, the global40 default timeoutsetting will be used).37 like the connection attempt (if not specified, the global default timeout 38 setting will be used). 41 39 42 40 Do not reopen an already connected instance. … … 192 190 193 191 The first argument is a list of regular expressions, either compiled 194 (:class:`re .RegexObject` instances) or uncompiled (strings). The optional second192 (:class:`regex objects <re-objects>`) or uncompiled (strings). The optional second 195 193 argument is a timeout, in seconds; the default is to block indefinitely. 196 194 … … 204 202 205 203 If a regular expression ends with a greedy match (such as ``.*``) or if more 206 than one expression can match the same input, the results are indeterministic,207 and may depend on the I/O timing.204 than one expression can match the same input, the results are 205 non-deterministic, and may depend on the I/O timing. 208 206 209 207
Note:
See TracChangeset
for help on using the changeset viewer.