diff -r c3a0197256ee Lib/collections/abc.py --- a/Lib/collections/abc.py Mon Apr 16 00:16:30 2012 +0200 +++ b/Lib/collections/abc.py Mon Apr 16 00:18:45 2012 +0200 @@ -43,7 +43,7 @@ dict_keys = type({}.keys()) dict_values = type({}.values()) dict_items = type({}.items()) ## misc ## -dict_proxy = type(type.__dict__) +mappingproxy = type(type.__dict__) ### ONE-TRICK PONIES ### @@ -405,6 +405,8 @@ class Mapping(Sized, Iterable, Container def __ne__(self, other): return not (self == other) +Mapping.register(mappingproxy) + class MappingView(Sized):