parameters: (self, sizehint=-1)
return_statement: return lines
docstring: This reads until EOF using readline() and returns a list containing
          the lines thus read. The optional 'sizehint' argument is ignored.
          Remember, because this reads until EOF that means the child
          process should have closed its stdout. If you run this method on
          a child that is still running with its stdout open then this
          method will block until it timesout.
docstring_summary: This reads until EOF using readline() and returns a list containing
          the lines thus read. The optional 'sizehint' argument is ignored.
          Remember, because this reads until EOF that means the child
          process should have closed its stdout. If you run this method on
          a child that is still running with its stdout open then this
          method will block until it timesout.
docstring_tokens: This reads until EOF using readline () and returns a list containing the lines thus read . The optional sizehint argument is ignored . Remember because this reads until EOF that means the child process should have closed its stdout . If you run this method on a child that is still running with its stdout open then this method will block until it timesout .
function: def readlines(self, sizehint=-1):
          '''This reads until EOF using readline() and returns a list containing
          the lines thus read. The optional 'sizehint' argument is ignored.
          Remember, because this reads until EOF that means the child
          process should have closed its stdout. If you run this method on
          a child that is still running with its stdout open then this
          method will block until it timesout.'''
  
          lines = []
          while True:
              line = self.readline()
              if not line:
                  break
              lines.append(line)
          return lines
function_tokens: def readlines ( self , sizehint = - 1 ) : lines = [ ] while True : line = self . readline ( ) if not line : break lines . append ( line ) return lines