File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -468,13 +468,14 @@ literals.
468468No ``Template.__str__() `` Implementation
469469----------------------------------------
470470
471- The ``Template `` type does not provide a specialized ``__str__() `` implementation;
472- it inherits the default implementation from the ``object `` class.
471+ The ``Template `` type does not provide a specialized ``__str__() `` implementation.
473472
474473This is because ``Template `` instances are intended to be used by template processing
475474code, which may return a string or any other type. There is no canonical way to
476475convert a Template to a string.
477476
477+ ``Template.__repr__() `` returns a simple representation suitable for debugging.
478+
478479
479480Examples
480481========
You can’t perform that action at this time.
0 commit comments