From 307689a15ee8ee6699ec7f9ebe3e2e4659f01247 Mon Sep 17 00:00:00 2001 From: ben Date: Sun, 14 Apr 2019 17:47:51 +1200 Subject: [PATCH] comment out lines that reference mappingproxy as type doesn't yet have a __dict__ --- Lib/_collections_abc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/_collections_abc.py b/Lib/_collections_abc.py index 3158a4f16..c9f7daa16 100644 --- a/Lib/_collections_abc.py +++ b/Lib/_collections_abc.py @@ -52,7 +52,7 @@ dict_keys = type({}.keys()) dict_values = type({}.values()) dict_items = type({}.items()) ## misc ## -mappingproxy = type(type.__dict__) +# mappingproxy = type(type.__dict__) # generator = type((lambda: (yield))()) ## coroutine ## # async def _coro(): pass @@ -688,7 +688,7 @@ class Mapping(Collection): __reversed__ = None -Mapping.register(mappingproxy) +# Mapping.register(mappingproxy) class MappingView(Sized):