Commit d9769c86 by Chris Jerdonek

Updated the Renderer.__init__() docstring.

parent 14d9932a
...@@ -48,9 +48,8 @@ class Renderer(object): ...@@ -48,9 +48,8 @@ class Renderer(object):
as a unicode string. If there is no template with that name, as a unicode string. If there is no template with that name,
the method should either return None (as dict.get() does) or the method should either return None (as dict.get() does) or
raise an exception. raise an exception.
Defaults to constructing a Loader instance with Defaults to constructing a default Loader, but using the
default_encoding and decode_errors passed as the encoding and default_encoding and decode_errors arguments.
decode_errors arguments, respectively.
escape: the function used to escape variable tag values when escape: the function used to escape variable tag values when
rendering a template. The function should accept a unicode rendering a template. The function should accept a unicode
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment