parameters: (self, limit=-1)
return_statement: return io.BufferedIOBase.readline(self, limit)
docstring: Read and return a line from the stream.
  
          If limit is specified, at most limit bytes will be read.
docstring_summary: Read and return a line from the stream.
docstring_tokens: Read and return a line from the stream .
function: def readline(self, limit=-1):
          """Read and return a line from the stream.
  
          If limit is specified, at most limit bytes will be read.
          """
  
          if limit < 0:
              # Shortcut common case - newline found in buffer.
              i = self._readbuffer.find(b'\n', self._offset) + 1
              if i > 0:
                  line = self._readbuffer[self._offset: i]
                  self._offset = i
                  return line
  
          return io.BufferedIOBase.readline(self, limit)
function_tokens: def readline ( self , limit = - 1 ) : if limit < 0 : # Shortcut common case - newline found in buffer. i = self . _readbuffer . find ( b'\n' , self . _offset ) + 1 if i > 0 : line = self . _readbuffer [ self . _offset : i ] self . _offset = i return line return io . BufferedIOBase . readline ( self , limit )