Issue #14386: Expose the dict_proxy internal type as types.MappingProxyType

This commit is contained in:
Victor Stinner 2012-04-16 00:16:30 +02:00
parent 8a1d04c643
commit 0db176f8f6
9 changed files with 369 additions and 75 deletions

View file

@ -12,6 +12,7 @@ def _f(): pass
FunctionType = type(_f)
LambdaType = type(lambda: None) # Same as FunctionType
CodeType = type(_f.__code__)
MappingProxyType = type(type.__dict__)
def _g():
yield 1