aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2011-01-26 11:47:28 +0100
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2011-01-26 11:47:28 +0100
commitbe7066b8c1872c6853286146b5b4f21170233939 (patch)
tree57a0600b7dfc47883e897103287ee1c2792f935a /lib_pypy
parenthash.update() accepts arrays and other objects with the buffer interface. (diff)
parentMerge heads (diff)
downloadpypy-be7066b8c1872c6853286146b5b4f21170233939.tar.gz
pypy-be7066b8c1872c6853286146b5b4f21170233939.tar.bz2
pypy-be7066b8c1872c6853286146b5b4f21170233939.zip
Merge heads
Diffstat (limited to 'lib_pypy')
-rw-r--r--lib_pypy/_functools.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib_pypy/_functools.py b/lib_pypy/_functools.py
index 316061e071..48e56d0ff0 100644
--- a/lib_pypy/_functools.py
+++ b/lib_pypy/_functools.py
@@ -3,12 +3,11 @@
# reduce() has moved to _functools in Python 2.6+.
reduce = reduce
-class partial:
+class partial(object):
"""
partial(func, *args, **keywords) - new function with partial application
of the given arguments and keywords.
"""
- __slots__ = ['func', 'args', 'keywords']
def __init__(self, func, *args, **keywords):
if not callable(func):