]> granicus.if.org Git - python/commitdiff
Fix the versionadded info for typing.NoReturn (GH-11880)
authorJack Wilsdon <jack.wilsdon@gmail.com>
Fri, 15 Feb 2019 19:20:28 +0000 (19:20 +0000)
committerMariatta <Mariatta@users.noreply.github.com>
Fri, 15 Feb 2019 19:20:28 +0000 (11:20 -0800)
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)

Doc/library/typing.rst

index 4a03fe7ecf6b7d2dda9635169e21759a8f42c8f7..6ed09f1969db119660edc2e88cbbb220a6e74ee3 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