parameters: (self)
docstring: Implement the Python next() protocol.
  
          This method, mirrored as both ``.next()`` and  ``.__next__()``, is part
          of Python's API for producing iterator-like behavior.
  
          .. versionadded:: 1.2
docstring_summary: Implement the Python next() protocol.
docstring_tokens: Implement the Python next () protocol .
function: def __next__(self):
          """Implement the Python next() protocol.
  
          This method, mirrored as both ``.next()`` and  ``.__next__()``, is part
          of Python's API for producing iterator-like behavior.
  
          .. versionadded:: 1.2
  
          """
          row = self.fetchone()
          if row is None:
              raise StopIteration()
          else:
              return row
function_tokens: def __next__ ( self ) : row = self . fetchone ( ) if row is None : raise StopIteration ( ) else : return row