Eric Snow's implementation of PEP 421.

Issue 14673: Add sys.implementation
This commit is contained in:
Barry Warsaw 2012-06-03 16:18:47 -04:00
parent 82ffabdfa4
commit 409da157d7
11 changed files with 541 additions and 3 deletions

View file

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