From: Armin Ronacher Date: Mon, 24 Jan 2011 00:14:20 +0000 (+0100) Subject: Fixed a bug in the documentation tool X-Git-Tag: 2.6~27 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d464d0820c6a42f77a7c52516195840602195936;p=jinja2.git Fixed a bug in the documentation tool --- diff --git a/docs/jinjaext.py b/docs/jinjaext.py index 66f4ba1..12b5447 100644 --- a/docs/jinjaext.py +++ b/docs/jinjaext.py @@ -92,7 +92,8 @@ def format_function(name, aliases, func): try: argspec = inspect.getargspec(func) if getattr(func, 'environmentfilter', False) or \ - getattr(func, 'contextfilter', False): + getattr(func, 'contextfilter', False) or \ + getattr(func, 'evalcontextfilter', False): del argspec[0][0] signature = inspect.formatargspec(*argspec) except: