[Python-checkins] Fix the versionadded info for typing.NoReturn (GH-11880)
Mariatta
webhook-mailer at python.org
Fri Feb 15 14:31:31 EST 2019
https://github.com/python/cpython/commit/f6097306ff4c6fb72b94697e6d31f81ff324257d
commit: f6097306ff4c6fb72b94697e6d31f81ff324257d
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Mariatta <Mariatta at users.noreply.github.com>
date: 2019-02-15T11:31:28-08:00
summary:
Fix the versionadded info for typing.NoReturn (GH-11880)
The earliest version that `typing.NoReturn` appears in is [3.5.4rc1](https://docs.python.org/3/whatsnew/changelog.htmlGH-python-3-5-4-release-candidate-1)
(cherry picked from commit 903567e4f54494c2f4148eec0504ad761ac942c2)
Co-authored-by: Jack Wilsdon <jack.wilsdon at gmail.com>
files:
M Doc/library/typing.rst
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
index 1e6dcccc1ffe..e756062240c9 100644
--- a/Doc/library/typing.rst
+++ b/Doc/library/typing.rst
@@ -958,7 +958,7 @@ The module defines the following classes, functions and decorators:
def stop() -> NoReturn:
raise RuntimeError('no way')
- .. versionadded:: 3.6.5
+ .. versionadded:: 3.5.4
.. data:: Union
More information about the Python-checkins
mailing list