parameters: (self)
return_statement: return rv
docstring: Return the current item, then advance :attr:`current` to the
          next item.
docstring_summary: Return the current item, then advance :attr:`current` to the
          next item.
docstring_tokens: Return the current item then advance : attr : current to the next item .
function: def next(self):
          """Return the current item, then advance :attr:`current` to the
          next item.
          """
          rv = self.current
          self.pos = (self.pos + 1) % len(self.items)
          return rv
function_tokens: def next ( self ) : rv = self . current self . pos = ( self . pos + 1 ) % len ( self . items ) return rv