  
  #@register.tag
  def cycle(parser, token):
      """
      Cycle among the given strings each time this tag is encountered
  
      Within a loop, cycles among the given strings each time through
      the loop::
  
          {% for o in some_list %}
 
</s> remove     Output the contents of the block if the two arguments equal each other.
 </s> add     Outputs the contents of the block if the two arguments equal each other. </s> remove     Loop over each item in an array.
 </s> add     Loops over each item in an array. </s> remove     "Formats a time according to the given format"
 </s> add     """Formats a time according to the given format.""" </s> remove     2. If given a variable, check whether that variable has changed. For example, the
       following shows the date every time it changes, but only shows the hour if both
       the hour and the date have changed::
 </s> add     2. If given a variable, check whether that variable has changed.
       For example, the following shows the date every time it changes, but
       only shows the hour if both the hour and the date have changed:: </s> remove     Filter the contents of the blog through variable filters.
 </s> add     Filters the contents of the blog through variable filters.
    Cycles among the given strings each time this tag is encountered.
  
  #@register.tag
  def cycle(parser, token):
      """
    Cycles among the given strings each time this tag is encountered.
  
      Within a loop, cycles among the given strings each time through
      the loop::
  
          {% for o in some_list %}
keep keep keep keep replace keep keep keep keep keep
 Style and import fixes.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6641 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
django/template/defaulttags.py