diff options
author | Fred Drake <fdrake@acm.org> | 2000-05-03 15:11:47 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-05-03 15:11:47 (GMT) |
commit | ae08853fb0c77067baa2b8bdc28f4e74df4f9f68 (patch) | |
tree | 141f69a48bc6c75738e9feb19cae1f07de65d0f3 /Doc | |
parent | 4e751c3d12aa93abb0b96603b99b332dfec135b2 (diff) | |
download | cpython-ae08853fb0c77067baa2b8bdc28f4e74df4f9f68.zip cpython-ae08853fb0c77067baa2b8bdc28f4e74df4f9f68.tar.gz cpython-ae08853fb0c77067baa2b8bdc28f4e74df4f9f68.tar.bz2 |
Clarify status of connection of a new instance; it *is* connected if
you pass server information to the constructor. Error noted by Pedro
Diaz Jimenez <diazjimenez@ctv.es>.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libtelnetlib.tex | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Doc/lib/libtelnetlib.tex b/Doc/lib/libtelnetlib.tex index eaf6699..64c5099 100644 --- a/Doc/lib/libtelnetlib.tex +++ b/Doc/lib/libtelnetlib.tex @@ -12,9 +12,11 @@ protocol. \begin{classdesc}{Telnet}{\optional{host\optional{, port}}} \class{Telnet} represents a connection to a telnet server. The -instance is initially not connected; the \method{open()} method must -be used to establish a connection. Alternatively, the host name and -optional port number can be passed to the constructor, too. +instance is initially not connected by default; the \method{open()} +method must be used to establish a connection. Alternatively, the +host name and optional port number can be passed to the constructor, +to, in which case the connection to the server will be established +before the constructor returns. Do not reopen an already connected instance. |