parameters: (self)
docstring: Return next chunk of file.
docstring_summary: Return next chunk of file.
docstring_tokens: Return next chunk of file .
function: def __next__(self):
          """Return next chunk of file."""
          chunk = self.input.read(self.chunkSize)
          if chunk:
              return chunk
          else:
              if hasattr(self.input, 'close'):
                  self.input.close()
              raise StopIteration()
function_tokens: def __next__ ( self ) : chunk = self . input . read ( self . chunkSize ) if chunk : return chunk else : if hasattr ( self . input , 'close' ) : self . input . close ( ) raise StopIteration ( )