parameters: (self, sizehint=None)
return_statement: return lines
docstring: Read lines from the request body and return them.
docstring_summary: Read lines from the request body and return them.
docstring_tokens: Read lines from the request body and return them .
function: def readlines(self, sizehint=None):
          """Read lines from the request body and return them."""
          if self.length is not None:
              if sizehint is None:
                  sizehint = self.length - self.bytes_read
              else:
                  sizehint = min(sizehint, self.length - self.bytes_read)
  
          lines = []
          seen = 0
          while True:
              line = self.readline()
              if not line:
                  break
              lines.append(line)
              seen += len(line)
              if seen >= sizehint:
                  break
          return lines
function_tokens: def readlines ( self , sizehint = None ) : if self . length is not None : if sizehint is None : sizehint = self . length - self . bytes_read else : sizehint = min ( sizehint , self . length - self . bytes_read ) lines = [ ] seen = 0 while True : line = self . readline ( ) if not line : break lines . append ( line ) seen += len ( line ) if seen >= sizehint : break return lines