Source

pypy / pypy / objspace / std / objectobject.py

Diff from to

File pypy/objspace/std/objectobject.py

-from pypy.objspace.std.objspace import *
+from pypy.objspace.std.model import W_Object
+from pypy.objspace.std.register_all import register_all
 
 
 class W_ObjectObject(W_Object):
     'object()' call."""
     from pypy.objspace.std.objecttype import object_typedef as typedef
 
-
-# any-to-object delegation is quite trivial, because W_ObjectObject is.
-def delegate__ANY(space, w_obj):
-    return W_ObjectObject(space)
-delegate__ANY.result_class = W_ObjectObject
-delegate__ANY.priority = PRIORITY_PARENT_TYPE
-
 # ____________________________________________________________