Author: Amaury Forgeot d'Arc <[email protected]>
Branch: py3k
Changeset: r59042:a25601764084
Date: 2012-11-21 00:04 +0100
http://bitbucket.org/pypy/pypy/changeset/a25601764084/

Log:    Fix test_classmethod()

diff --git a/pypy/module/cpyext/methodobject.py 
b/pypy/module/cpyext/methodobject.py
--- a/pypy/module/cpyext/methodobject.py
+++ b/pypy/module/cpyext/methodobject.py
@@ -212,7 +212,7 @@
 def cclassmethod_descr_get(space, w_function, w_obj, w_cls=None):
     if not w_cls:
         w_cls = space.type(w_obj)
-    return space.wrap(Method(space, w_function, w_cls, space.w_None))
+    return space.wrap(Method(space, w_function, w_cls))
 
 
 W_PyCFunctionObject.typedef = TypeDef(
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to