Searched refs:is_internal_attribute (Results 1 - 1 of 1) sorted by relevance

/external/chromium_org/third_party/jinja2/
H A Dsandbox.py120 def is_internal_attribute(obj, attr): function
126 >>> from jinja2.sandbox import is_internal_attribute
127 >>> is_internal_attribute(lambda: None, "func_code")
129 >>> is_internal_attribute((lambda x:x).func_code, 'co_code')
131 >>> is_internal_attribute(str, "upper")
273 :func:`is_internal_attribute` function.
275 return not (attr.startswith('_') or is_internal_attribute(obj, attr))

Completed in 362 milliseconds