parameters: (self)
return_statement: return data
docstring: Generate next file chunk.
docstring_summary: Generate next file chunk.
docstring_tokens: Generate next file chunk .
function: def __next__(self):
          """Generate next file chunk."""
          data = next(self.rfile)
          self.bytes_read += len(data)
          self._check_length()
          return data
function_tokens: def __next__ ( self ) : data = next ( self . rfile ) self . bytes_read += len ( data ) self . _check_length ( ) return data