mirror of
https://github.com/python/cpython.git
synced 2025-10-06 15:11:58 +00:00
Eric Snow's implementation of PEP 421.
Issue 14673: Add sys.implementation
This commit is contained in:
parent
82ffabdfa4
commit
409da157d7
11 changed files with 541 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue