diff options
author | Barry Warsaw <barry@python.org> | 2012-06-03 20:18:47 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2012-06-03 20:18:47 (GMT) |
commit | 409da157d7ff2a49892e20a94a3fc83475845d22 (patch) | |
tree | 734314ff314990b3f3b9bb6f8de2e2f4ee0b54dc /Lib/types.py | |
parent | 82ffabdfa4de985690c76fd7498a77e9604e1747 (diff) | |
download | cpython-409da157d7ff2a49892e20a94a3fc83475845d22.zip cpython-409da157d7ff2a49892e20a94a3fc83475845d22.tar.gz cpython-409da157d7ff2a49892e20a94a3fc83475845d22.tar.bz2 |
Eric Snow's implementation of PEP 421.
Issue 14673: Add sys.implementation
Diffstat (limited to 'Lib/types.py')
-rw-r--r-- | Lib/types.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/types.py b/Lib/types.py index 2bfcd9b..cfd09ea 100644 --- a/Lib/types.py +++ b/Lib/types.py @@ -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 |