[Python-checkins] CVS: python/dist/src/Doc/lib libtelnetlib.tex,1.4,1.5

Fred Drake python-dev@python.org
Wed, 3 May 2000 11:11:50 -0400


Update of /projects/cvsroot/python/dist/src/Doc/lib
In directory seahag.cnri.reston.va.us:/home/fdrake/projects/python/Doc/lib

Modified Files:
	libtelnetlib.tex 
Log Message:

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>.


Index: libtelnetlib.tex
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Doc/lib/libtelnetlib.tex,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** libtelnetlib.tex	2000/04/26 18:20:04	1.4
--- libtelnetlib.tex	2000/05/03 15:11:47	1.5
***************
*** 13,19 ****
  \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.
  
  Do not reopen an already connected instance.
--- 13,21 ----
  \begin{classdesc}{Telnet}{\optional{host\optional{, port}}}
  \class{Telnet} represents a connection to a telnet server. The
! 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.