]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix the versionadded info for typing.NoReturn (GH-11880)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 15 Feb 2019 19:31:28 +0000 (11:31 -0800)
committerMariatta <Mariatta@users.noreply.github.com>
Fri, 15 Feb 2019 19:31:28 +0000 (11:31 -0800)
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@gmail.com>
Doc/library/typing.rst

index 1e6dcccc1ffe0f89415009004141fe686de78a96..e756062240c9297f0b3ea6eba2d978259426ac7d 100644 (file)
@@ -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