From 228c1834949ecbdd1efa5e57d9fdf7601ac80647 Mon Sep 17 00:00:00 2001 From: Benjamin Wiegand Date: Mon, 28 Apr 2008 18:09:27 +0200 Subject: [PATCH] small improvement --HG-- branch : trunk --- jinja2/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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): -- 2.26.2