Mercurial > genshi > mirror
diff genshi/filters/i18n.py @ 501:5e7604c2d60d trunk
Added new markup transformation filter contributed by Alec Thomas (#122). This provides gorgeous jQuery-inspired stream transformation capabilities based on XPath expressions.
author | cmlenz |
---|---|
date | Mon, 04 Jun 2007 17:13:10 +0000 |
parents | 3f6582a5a4a5 |
children | 082535e5087c |
line wrap: on
line diff
--- a/genshi/filters/i18n.py +++ b/genshi/filters/i18n.py @@ -12,6 +12,9 @@ from genshi.template.base import Template, EXPR, SUB from genshi.template.markup import EXEC +__all__ = ['Translator'] +__docformat__ = 'restructuredtext en' + _LOAD_NAME = chr(opmap['LOAD_NAME']) _LOAD_CONST = chr(opmap['LOAD_CONST']) _CALL_FUNCTION = chr(opmap['CALL_FUNCTION'])