original_docstring: 
      Get one attribute from an object. Normally you don't have to use this
      filter because the attribute and subscript expressions try to either
      get an attribute of an object or an item. In some situations it could
      be that there is an item *and* an attribute with the same name. In that
      situation only the item is returned, never the attribute.
  
      .. sourcecode:: jinja
  
          {{ foo.bar }} -> {{ foo|getattribute('bar') }}
  
      *New in Jinja 1.2*
      
docstring: Get one attribute from an object. Normally you don't have to use this
  filter because the attribute and subscript expressions try to either
  get an attribute of an object or an item. In some situations it could
  be that there is an item *and* an attribute with the same name. In that
  situation only the item is returned, never the attribute.
  
  : jinja
  
  
  
  
docstring_tokens: Get one attribute from an object . Normally you don ' t have to use this filter because the attribute and subscript expressions try to either get an attribute of an object or an item . In some situations it could be that there is an item * and * an attribute with the same name . In that situation only the item is returned never the attribute . : jinja
code: def do_getattribute(attribute):
      """
      Get one attribute from an object. Normally you don't have to use this
      filter because the attribute and subscript expressions try to either
      get an attribute of an object or an item. In some situations it could
      be that there is an item *and* an attribute with the same name. In that
      situation only the item is returned, never the attribute.
  
      .. sourcecode:: jinja
  
          {{ foo.bar }} -> {{ foo|getattribute('bar') }}
  
      *New in Jinja 1.2*
      """
      def wrapped(env, context, value):
          try:
              return get_attribute(value, attribute)
          except (SecurityException, AttributeError):
              return env.undefined_singleton
      return wrapped
code_tokens: def do_getattribute ( attribute ) : def wrapped ( env , context , value ) : try : return get_attribute ( value , attribute ) except ( SecurityException , AttributeError ) : return env . undefined_singleton return wrapped
short_docstring: Get one attribute from an object.
short_docstring_tokens: Get one attribute from an object .
comment: """
      Get one attribute from an object. Normally you don't have to use this
      filter because the attribute and subscript expressions try to either
      get an attribute of an object or an item. In some situations it could
      be that there is an item *and* an attribute with the same name. In that
      situation only the item is returned, never the attribute.
  
      .. sourcecode:: jinja
  
          {{ foo.bar }} -> {{ foo|getattribute('bar') }}
  
      *New in Jinja 1.2*
      """