summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-05-03 15:11:47 (GMT)
committerFred Drake <fdrake@acm.org>2000-05-03 15:11:47 (GMT)
commitae08853fb0c77067baa2b8bdc28f4e74df4f9f68 (patch)
tree141f69a48bc6c75738e9feb19cae1f07de65d0f3 /Doc
parent4e751c3d12aa93abb0b96603b99b332dfec135b2 (diff)
downloadcpython-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.tex8
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.