original_docstring: Called to read from the socket.
docstring: Called to read from the socket.
docstring_tokens: Called to read from the socket .
code: def read_socket(self):
          """Called to read from the socket."""
          if self.socket:
              try:
                  pyngus.read_socket_input(self.pyngus_conn, self.socket)
                  self.pyngus_conn.process(time.monotonic())
              except (socket.timeout, socket.error) as e:
                  # pyngus handles EAGAIN/EWOULDBLOCK and EINTER
                  self.pyngus_conn.close_input()
                  self.pyngus_conn.close_output()
                  self._handler.socket_error(str(e))
code_tokens: def read_socket ( self ) : if self . socket : try : pyngus . read_socket_input ( self . pyngus_conn , self . socket ) self . pyngus_conn . process ( time . monotonic ( ) ) except ( socket . timeout , socket . error ) as e : self . pyngus_conn . close_input ( ) self . pyngus_conn . close_output ( ) self . _handler . socket_error ( str ( e ) )
short_docstring: Called to read from the socket.
short_docstring_tokens: Called to read from the socket .
comment: """Called to read from the socket."""$SEP$# pyngus handles EAGAIN/EWOULDBLOCK and EINTER