From: Jack Wilsdon Date: Fri, 15 Feb 2019 19:20:28 +0000 (+0000) Subject: Fix the versionadded info for typing.NoReturn (GH-11880) X-Git-Tag: v3.8.0a2~69 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=903567e4f54494c2f4148eec0504ad761ac942c2;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.html#python-3-5-4-release-candidate-1) --- 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