  
  #@register.tag(name="for")
  def do_for(parser, token):
      """
      Loop over each item in an array.
  
      For example, to display a list of athletes given ``athlete_list``::
  
          <ul>
          {% for athlete in athlete_list %}
 
</s> remove     For example, to load the template tags in ``django/templatetags/news/photos.py``::
 </s> add     For example, to load the template tags in
    ``django/templatetags/news/photos.py``:: </s> remove     ``if`` tags do not allow ``and`` and ``or`` clauses with the same
    tag, because the order of logic would be ambigous. For example,
    this is invalid::
 </s> add     ``if`` tags do not allow ``and`` and ``or`` clauses with the same tag,
    because the order of logic would be ambigous. For example, this is
    invalid:: </s> remove     Cycle among the given strings each time this tag is encountered
 </s> add     Cycles among the given strings each time this tag is encountered. </s> remove     Load a custom template tag set.
 </s> add     Loads a custom template tag set. </s> remove     Returns the value turned into a list. For an integer, it's a list of
    digits. For a string, it's a list of characters.
 </s> add     Returns the value turned into a list.

    For an integer, it's a list of digits.
    For a string, it's a list of characters.
    Loops over each item in an array.
  
  #@register.tag(name="for")
  def do_for(parser, token):
      """
    Loops over each item in an array.
  
      For example, to display a list of athletes given ``athlete_list``::
  
          <ul>
          {% for athlete in athlete_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