Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/Doc/library/telnetlib.rst

    r2 r391  
    1 
    21:mod:`telnetlib` --- Telnet client
    32==================================
     
    98
    109.. index:: single: protocol; Telnet
     10
     11**Source code:** :source:`Lib/telnetlib.py`
     12
     13--------------
    1114
    1215The :mod:`telnetlib` module provides a :class:`Telnet` class that implements the
     
    2932   initially not connected by default; the :meth:`open` method must be used to
    3033   establish a connection.  Alternatively, the host name and optional port
    31    and timeout can be passed to the constructor, in which case the connection to
     34   number can be passed to the constructor, to, in which case the connection to
    3235   the server will be established before the constructor returns.  The optional
    33    *timeout* parameter specifies a timeout in seconds for the connection attempt (if
    34    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 to
    37    the server will be established before the constructor returns. The optional
    3836   *timeout* parameter specifies a timeout in seconds for blocking operations
    39    like the connection attempt (if not specified, or passed as None, the global
    40    default timeout setting will be used).
     37   like the connection attempt (if not specified, the global default timeout
     38   setting will be used).
    4139
    4240   Do not reopen an already connected instance.
     
    192190
    193191   The first argument is a list of regular expressions, either compiled
    194    (:class:`re.RegexObject` instances) or uncompiled (strings). The optional second
     192   (:class:`regex objects <re-objects>`) or uncompiled (strings). The optional second
    195193   argument is a timeout, in seconds; the default is to block indefinitely.
    196194
     
    204202
    205203   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.
    208206
    209207
Note: See TracChangeset for help on using the changeset viewer.