[pypy-commit] pypy default: fix functools tests
alex_gaynor
noreply at buildbot.pypy.org
Mon Sep 26 12:36:49 CEST 2011
Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch:
Changeset: r47604:f0988800117b
Date: 2011-09-26 06:36 -0400
http://bitbucket.org/pypy/pypy/changeset/f0988800117b/
Log: fix functools tests
diff --git a/lib_pypy/_functools.py b/lib_pypy/_functools.py
--- a/lib_pypy/_functools.py
+++ b/lib_pypy/_functools.py
@@ -18,5 +18,5 @@
def __call__(self, *fargs, **fkeywords):
if self.keywords is not None:
- fkeywords.update(self.keywords)
+ fkeywords = dict(self.keywords, **fkeywords)
return self.func(*(self.args + fargs), **fkeywords)
More information about the pypy-commit
mailing list