mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Revert mappingproxy hack
This commit is contained in:
1 parent
80e9bd8ab6
commit
7d0ab6395b
1 file changed
+2
-2
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user