(self, host=None, port=10011)
return None
If *host* is provided, the connection will be established before
        the constructor returns.

        .. seealso:: :meth:`open`
If *host* is provided, the connection will be established before
        the constructor returns.
If * host * is provided the connection will be established before the constructor returns .
def __init__(self, host=None, port=10011):
        """
        If *host* is provided, the connection will be established before
        the constructor returns.

        .. seealso:: :meth:`open`
        """
        self._telnet_conn = None
        self._telnet_queue = None

        # The number of queries for which we have not received a response yet.
        self._num_pending_queries = 0

        # The undelivered events. These events are returned, the next time
        # *wait_for_event()* is called.
        self._event_queue = list()

        if host is not None:
            self.open(host, port)
        return None
def __init__ ( self , host = None , port = 10011 ) : self . _telnet_conn = None self . _telnet_queue = None # The number of queries for which we have not received a response yet. self . _num_pending_queries = 0 # The undelivered events. These events are returned, the next time # *wait_for_event()* is called. self . _event_queue = list ( ) if host is not None : self . open ( host , port ) return None