From: Benjamin Wiegand Date: Mon, 28 Apr 2008 16:09:27 +0000 (+0200) Subject: small improvement X-Git-Tag: 2.0rc1~123^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=228c1834949ecbdd1efa5e57d9fdf7601ac80647;p=jinja2.git small improvement --HG-- branch : trunk --- diff --git a/jinja2/utils.py b/jinja2/utils.py index 0704bb4..029bef0 100644 --- a/jinja2/utils.py +++ b/jinja2/utils.py @@ -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):