Commits

Amaury Forgeot d'Arc  committed a256017

Fix test_classmethod()

  • Participants
  • Parent commits 7960edd
  • Branches py3k

Comments (0)

Files changed (1)

File pypy/module/cpyext/methodobject.py

 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(