[Python-checkins] bpo-33061: Add missing 'NoReturn' to __all__ in typing.py (GH-6127)

Ivan Levkivskyi webhook-mailer at python.org
Mon Mar 19 14:41:40 EDT 2018


https://github.com/python/cpython/commit/4573820d2a9156346392838d455e89f33067e9dd
commit: 4573820d2a9156346392838d455e89f33067e9dd
branch: master
author: aetracht <allen at duolingo.com>
committer: Ivan Levkivskyi <levkivskyi at gmail.com>
date: 2018-03-19T18:41:32Z
summary:

bpo-33061: Add missing 'NoReturn' to __all__ in typing.py (GH-6127)

files:
A Misc/NEWS.d/next/Library/2018-03-16-16-07-33.bpo-33061.TRTTek.rst
M Lib/typing.py

diff --git a/Lib/typing.py b/Lib/typing.py
index 7ca080402e28..56126cfc0247 100644
--- a/Lib/typing.py
+++ b/Lib/typing.py
@@ -95,6 +95,7 @@
     'NewType',
     'no_type_check',
     'no_type_check_decorator',
+    'NoReturn',
     'overload',
     'Text',
     'TYPE_CHECKING',
diff --git a/Misc/NEWS.d/next/Library/2018-03-16-16-07-33.bpo-33061.TRTTek.rst b/Misc/NEWS.d/next/Library/2018-03-16-16-07-33.bpo-33061.TRTTek.rst
new file mode 100644
index 000000000000..b82ffb73a143
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2018-03-16-16-07-33.bpo-33061.TRTTek.rst
@@ -0,0 +1 @@
+Add missing ``NoReturn`` to ``__all__`` in typing.py



More information about the Python-checkins mailing list