Ticket #324: python-genshi-0.5.1-py2.6.2-length_hint.patch
| File python-genshi-0.5.1-py2.6.2-length_hint.patch, 492 bytes (added by lmacken@…, 14 years ago) |
|---|
-
genshi/template/eval.py
old new 279 279 raise UndefinedError(self._name, self._owner) 280 280 __call__ = __getattr__ = __getitem__ = _die 281 281 282 # Hack around some behavior introduced in Python 2.6.2 283 # http://genshi.edgewall.org/ticket/324 284 __length_hint__ = None 285 282 286 283 287 class LookupBase(object): 284 288 """Abstract base class for variable lookup implementations."""
