From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 15 Feb 2019 19:31:28 +0000 (-0800) Subject: Fix the versionadded info for typing.NoReturn (GH-11880) X-Git-Tag: v3.7.3rc1~76 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6097306ff4c6fb72b94697e6d31f81ff324257d;p=thirdparty%2FPython%2Fcpython.git 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 --- 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