Home
last modified time | relevance | path

Searched refs:__html__ (Results 1 – 17 of 17) sorted by relevance

/external/python/markupsafe/tests/
Dtest_markupsafe.py32 assert x.__html__() is x
37 def __html__(self): member in test_html_interop.Foo
102 def __html__(self): member in test_custom_formatting.HasHTMLOnly
106 def __html__(self): member in test_custom_formatting.HasHTMLAndFormat
125 self.id, self.__html__()
130 return self.__html__()
132 def __html__(self): member in test_complex_custom_formatting.User
171 def __html__(self): member in test_escape_return_type.Foo
Dtest_exception_custom_html.py5 def __html__(self): member in CustomHtmlThatRaises
/external/python/markupsafe/docs/
Dformatting.rst21 #. If an object has an ``__html__`` method, it is called. If a format
22 specifier was passed and the class defined ``__html__`` but not
43 ).format(self.id, self.__html__())
46 return self.__html__()
48 def __html__(self):
Dhtml.rst6 In many frameworks, if a class implements an ``__html__`` method it
9 implement this method. If an object has an ``__html__`` method it will
22 def __html__(self):
42 def __html__(self):
/external/python/markupsafe/
DCHANGES.rst16 - Fix segfault when ``__html__`` method raises an exception when using
30 - ``escape`` wraps ``__html__`` result in ``Markup``, consistent with
/external/python/markupsafe/src/markupsafe/
D__init__.py50 base = base.__html__()
55 def __html__(self): member in Markup
232 rv = value.__html__()
D_native.py16 return Markup(s.__html__())
/external/libchrome/third_party/markupsafe/
D_native.py21 return s.__html__()
D__init__.py70 base = base.__html__()
75 def __html__(self): member in Markup
/external/libchrome/third_party/jinja2/
Dnativetypes.py92 const = const.__html__()
Dfilters.py90 value = value.__html__()
697 value = value.__html__()
Denvironment.py1157 def __html__(self): member in TemplateModule
Dcompiler.py1265 const = const.__html__()
/external/python/jinja/src/jinja2/
Dfilters.py127 value = value.__html__()
814 value = value.__html__()
Druntime.py846 def __html__(self): member in ChainableUndefined
Denvironment.py1213 def __html__(self): member in TemplateModule
/external/python/jinja/docs/
Dapi.rst611 up the `__html__` concept soon.