Mercurial > genshi > mirror
diff genshi/template/eval.py @ 564:aeb89e9730df trunk
Alias `__contains__` to `has_key` in `Context` class for code outside of Genshi that may expect that for some wild reason.
author | cmlenz |
---|---|
date | Fri, 13 Jul 2007 12:54:09 +0000 |
parents | 9d1c5c290254 |
children | 53b37e4f2921 |
line wrap: on
line diff
--- a/genshi/template/eval.py +++ b/genshi/template/eval.py @@ -392,6 +392,7 @@ BUILTINS.update({'Markup': Markup, 'Undefined': Undefined}) CONSTANTS = frozenset(['False', 'True', 'None', 'NotImplemented', 'Ellipsis']) + class ASTTransformer(object): """General purpose base class for AST transformations.