              values = reversed(values)
          unpack = len(self.loopvars) > 1
          for i, item in enumerate(values):
              context['forloop'] = {
                  # shortcuts for current loop iteration number
                  'counter0': i,
                  'counter': i+1,
                  # reverse counter iteration numbers
                  'revcounter': len_values - i,
                  'revcounter0': len_values - i - 1,
 
</s> remove                 # reverse counter iteration numbers
 </s> add                 # Reverse counter iteration numbers. </s> remove                 # boolean values designating first and last times through loop
 </s> add                 # Boolean values designating first and last times through loop. </s> remove                 # If there are multiple loop variables, unpack the item into them.
 </s> add                 # If there are multiple loop variables, unpack the item into
                # them. </s> remove     # Find the maximum width of the line count, for use with zero padding string format command
 </s> add     # Find the maximum width of the line count, for use with zero padding
    # string format command. </s> remove     "Displays text with line numbers"
 </s> add     """Displays text with line numbers."""
                # Shortcuts for current loop iteration number.
              values = reversed(values)
          unpack = len(self.loopvars) > 1
          for i, item in enumerate(values):
              context['forloop'] = {
                # Shortcuts for current loop iteration number.
                  'counter0': i,
                  'counter': i+1,
                  # reverse counter iteration numbers
                  'revcounter': len_values - i,
                  'revcounter0': len_values - i - 1,
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