[Python-checkins] Fix the versionadded info for typing.NoReturn (GH-11880)

Mariatta webhook-mailer at python.org
Fri Feb 15 14:20:32 EST 2019


https://github.com/python/cpython/commit/903567e4f54494c2f4148eec0504ad761ac942c2
commit: 903567e4f54494c2f4148eec0504ad761ac942c2
branch: master
author: Jack Wilsdon <jack.wilsdon at gmail.com>
committer: Mariatta <Mariatta at users.noreply.github.com>
date: 2019-02-15T11:20: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.html#python-3-5-4-release-candidate-1)

files:
M Doc/library/typing.rst

diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
index 4a03fe7ecf6b..6ed09f1969db 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