projects
/
jinja2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a315274
)
small improvement
author
Benjamin Wiegand
<highwaychile@bluevaria.de>
Mon, 28 Apr 2008 16:09:27 +0000
(18:09 +0200)
committer
Benjamin Wiegand
<highwaychile@bluevaria.de>
Mon, 28 Apr 2008 16:09:27 +0000
(18:09 +0200)
--HG--
branch : trunk
jinja2/utils.py
patch
|
blob
|
history
diff --git
a/jinja2/utils.py
b/jinja2/utils.py
index 0704bb451c3154ad8d70cb51be033fe368602aff..029bef0be24fd39693b806861c9569fa397e53ca 100644
(file)
--- 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):