parameters: (self, len=1024, buffer=None)
docstring: Read up to LEN bytes and return them.
          Return zero-length string on EOF.
docstring_summary: Read up to LEN bytes and return them.
          Return zero-length string on EOF.
docstring_tokens: Read up to LEN bytes and return them . Return zero - length string on EOF .
function: def read(self, len=1024, buffer=None):
          """Read up to LEN bytes and return them.
          Return zero-length string on EOF."""
  
          self._checkClosed()
          if self._sslobj is None:
              raise ValueError("Read on closed or unwrapped SSL socket.")
          try:
              if buffer is not None:
                  return self._sslobj.read(len, buffer)
              else:
                  return self._sslobj.read(len)
          except SSLError as x:
              if x.args[0] == SSL_ERROR_EOF and self.suppress_ragged_eofs:
                  if buffer is not None:
                      return 0
                  else:
                      return b''
              else:
                  raise
function_tokens: def read ( self , len = 1024 , buffer = None ) : self . _checkClosed ( ) if self . _sslobj is None : raise ValueError ( "Read on closed or unwrapped SSL socket." ) try : if buffer is not None : return self . _sslobj . read ( len , buffer ) else : return self . _sslobj . read ( len ) except SSLError as x : if x . args [ 0 ] == SSL_ERROR_EOF and self . suppress_ragged_eofs : if buffer is not None : return 0 else : return b'' else : raise