Skip to content
Myr

Fixed a Python 3 bug.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

--HG-- branch : trunk

authored by Armin Ronacher · committed by Armin Ronacher · parent 5da3181 · Browse files · 1 file+3 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−0 removed

  • other:+3 added−0 removed

1 file+3 added−0 removed

modified:jinja2/runtime.py+3 added
526 unmodified lines
527 """528 __slots__ = ()529 __iter__ = __unicode__ = __str__ = __len__ = __nonzero__ = __eq__ = \530 __ne__ = Undefined._fail_with_undefined_error531 if sys.version_info >= (3, 0):532 __bool__ = __nonzero__533 del __nonzero__534535536# remove remaining slots attributes, after the metaclass did the magic they537# are unneeded and irritating as they contain wrong data for the subclasses.
1 unmodified line