parameters: (self)
docstring: Return this object if there's another iteration scheduled.
  
          @rtype: L{ImmediateRetry}
          @raises StopIteration: if there's not another iteration scheduled
docstring_summary: Return this object if there's another iteration scheduled.
docstring_tokens: Return this object if there s another iteration scheduled .
function: def next(self):
          """Return this object if there's another iteration scheduled.
  
          @rtype: L{ImmediateRetry}
          @raises StopIteration: if there's not another iteration scheduled
  
          """
          done = not self.need_retry
          self.need_retry = False
          self.count += 1
          if done:
              raise StopIteration
          else:
              return self
function_tokens: def next ( self ) : done = not self . need_retry self . need_retry = False self . count += 1 if done : raise StopIteration else : return self