From: Fred Drake Date: Wed, 3 May 2000 15:11:47 +0000 (+0000) Subject: Clarify status of connection of a new instance; it *is* connected if X-Git-Tag: v2.0b1~1862 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ae08853fb0c77067baa2b8bdc28f4e74df4f9f68;p=python 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 . --- diff --git a/Doc/lib/libtelnetlib.tex b/Doc/lib/libtelnetlib.tex index eaf6699279..64c5099a7a 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.