parameters: (self, host=None, port=0,
                   timeout=socket._GLOBAL_DEFAULT_TIMEOUT)
docstring: Constructor.
  
          When called without arguments, create an unconnected instance.
          With a hostname argument, it connects the instance; port number
          and timeout are optional.
docstring_summary: Constructor.
docstring_tokens: Constructor .
function: def __init__(self, host=None, port=0,
                   timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
          """Constructor.
  
          When called without arguments, create an unconnected instance.
          With a hostname argument, it connects the instance; port number
          and timeout are optional.
          """
          self.debuglevel = DEBUGLEVEL
          self.host = host
          self.port = port
          self.timeout = timeout
          self.sock = None
          self.rawq = b''
          self.irawq = 0
          self.cookedq = b''
          self.eof = 0
          self.iacseq = b'' # Buffer for IAC sequence.
          self.sb = 0 # flag for SB and SE sequence.
          self.sbdataq = b''
          self.option_callback = None
          if host is not None:
              self.open(host, port, timeout)
function_tokens: def __init__ ( self , host = None , port = 0 , timeout = socket . _GLOBAL_DEFAULT_TIMEOUT ) : self . debuglevel = DEBUGLEVEL self . host = host self . port = port self . timeout = timeout self . sock = None self . rawq = b'' self . irawq = 0 self . cookedq = b'' self . eof = 0 self . iacseq = b'' # Buffer for IAC sequence. self . sb = 0 # flag for SB and SE sequence. self . sbdataq = b'' self . option_callback = None if host is not None : self . open ( host , port , timeout )