Author: Philip Jenvey <[email protected]>
Branch: py3.3
Changeset: r74305:0979b414707b
Date: 2014-10-30 12:09 -0700
http://bitbucket.org/pypy/pypy/changeset/0979b414707b/
Log: kill StdTypeDef
diff --git a/pypy/objspace/std/dictproxyobject.py
b/pypy/objspace/std/dictproxyobject.py
--- a/pypy/objspace/std/dictproxyobject.py
+++ b/pypy/objspace/std/dictproxyobject.py
@@ -1,9 +1,9 @@
from pypy.objspace.std.dictmultiobject import (
W_DictMultiObject, DictStrategy, create_iterator_classes)
from pypy.objspace.std.typeobject import unwrap_cell
-from pypy.objspace.std.stdtypedef import StdTypeDef
from pypy.interpreter.error import OperationError, oefmt
from pypy.interpreter.gateway import interp2app
+from pypy.interpreter.typedef import TypeDef
from rpython.rlib import rerased
@@ -24,7 +24,7 @@
return space.wrap(u"mappingproxy(%s)" % (
space.unicode_w(W_DictMultiObject.descr_repr(self, space))))
-W_DictProxyObject.typedef = StdTypeDef(
+W_DictProxyObject.typedef = TypeDef(
"mappingproxy", W_DictMultiObject.typedef,
__new__ = interp2app(W_DictProxyObject.descr_new),
__init__ = interp2app(W_DictProxyObject.descr_init),
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit