original_docstring: 
      Return a copy of the string passed to the filter wrapped after
      ``79`` characters. You can override this default using the first
      parameter. If you set the second parameter to `true` Jinja will
      also split words apart (usually a bad idea because it makes
      reading hard).
      
docstring: Return a copy of the string passed to the filter wrapped after
  ``79`` characters. You can override this default using the first
  parameter. If you set the second parameter to `true` Jinja will
  also split words apart (usually a bad idea because it makes
  reading hard).
docstring_tokens: Return a copy of the string passed to the filter wrapped after ` ` 79 ` ` characters . You can override this default using the first parameter . If you set the second parameter to ` true ` Jinja will also split words apart ( usually a bad idea because it makes reading hard ) .
code: def do_wordwrap(s, pos=79, hard=False):
      """
      Return a copy of the string passed to the filter wrapped after
      ``79`` characters. You can override this default using the first
      parameter. If you set the second parameter to `true` Jinja will
      also split words apart (usually a bad idea because it makes
      reading hard).
      """
      if len(s) < pos:
          return s
      if hard:
          return u'\n'.join([s[idx:idx + pos] for idx in
                            xrange(0, len(s), pos)])
      # code from http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/148061
      return reduce(lambda line, word, pos=pos: u'%s%s%s' %
                    (line, u' \n'[(len(line)-line.rfind('\n') - 1 +
                                  len(word.split('\n', 1)[0]) >= pos)],
                     word), s.split(' '))
code_tokens: def do_wordwrap ( s , pos = 79 , hard = False ) : if len ( s ) < pos : return s if hard : return u'\n' . join ( [ s [ idx : idx + pos ] for idx in xrange ( 0 , len ( s ) , pos ) ] ) return reduce ( lambda line , word , pos = pos : u'%s%s%s' % ( line , u' \n' [ ( len ( line ) - line . rfind ( '\n' ) - 1 + len ( word . split ( '\n' , 1 ) [ 0 ] ) >= pos ) ] , word ) , s . split ( ' ' ) )
short_docstring: Return a copy of the string passed to the filter wrapped after
  ``79`` characters.
short_docstring_tokens: Return a copy of the string passed to the filter wrapped after ` ` 79 ` ` characters .
comment: """
      Return a copy of the string passed to the filter wrapped after
      ``79`` characters. You can override this default using the first
      parameter. If you set the second parameter to `true` Jinja will
      also split words apart (usually a bad idea because it makes
      reading hard).
      """$SEP$# code from http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/148061