From 7d0ab6395bfa2e122df72bfc4f834686c8ad6ef0 Mon Sep 17 00:00:00 2001 From: Seo Sanghyeon Date: Thu, 9 May 2019 09:45:41 +0900 Subject: [PATCH] Revert mappingproxy hack --- 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 c9f7daa16..3158a4f16 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):