From d464d0820c6a42f77a7c52516195840602195936 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Mon, 24 Jan 2011 01:14:20 +0100 Subject: [PATCH] Fixed a bug in the documentation tool --- docs/jinjaext.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: -- 2.26.2