small improvement
authorBenjamin Wiegand <highwaychile@bluevaria.de>
Mon, 28 Apr 2008 16:09:27 +0000 (18:09 +0200)
committerBenjamin Wiegand <highwaychile@bluevaria.de>
Mon, 28 Apr 2008 16:09:27 +0000 (18:09 +0200)
--HG--
branch : trunk

jinja2/utils.py

index 0704bb451c3154ad8d70cb51be033fe368602aff..029bef0be24fd39693b806861c9569fa397e53ca 100644 (file)
@@ -412,8 +412,8 @@ try:
     from functools import partial
 except ImportError:
     class partial(object):
-        def __init__(self, func, *args, **kwargs):
-            self._func = func
+        def __init__(self, _func, *args, **kwargs):
+            self._func = _func
             self._args = args
             self._kwargs = kwargs
         def __call__(self, *args, **kwargs):