This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Mariatta
Recipients Mariatta, docs@python
Date 2021-04-29.18:16:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1619720166.99.0.648507362303.issue43978@roundup.psfhosted.org>
In-reply-to
Content
We received a documentation bug report in docs mailing list.

https://mail.python.org/archives/list/docs@python.org/thread/BLANNZUPUEOJ4LJYSJNNFLK5I7NYE3GH/#

It looks like the doc currently says that, typing.NoReturn was added in both 3.5.4 and 3.6.2

It appeared from this change, that it was originally added in 3.6.5 (https://github.com/python/cpython/pull/7107/files)

However, during a refactoring effort, in https://github.com/python/cpython/commit/ab72fdeb82c3ab045b480cd4bb4f928c12653ecb, the 3.5.4 and 3.6.2 info were added, perhaps due to copy-pasting.

I think it should be changed into .. versionadded:: 3.6.5

However, I'm curious to know whether there are other parts in the doc, where this info is wrong. So perhaps there was other parts of the doc that was added in 3.5.4, but somehow we moved that to the typing.NoReturn section.

For now, I think we can just fix it by adding .. versionadded: 3.6.5

And maybe someone else can look into other parts of the doc to see if the version info are correct.
History
Date User Action Args
2021-04-29 18:16:07Mariattasetrecipients: + Mariatta, docs@python
2021-04-29 18:16:06Mariattasetmessageid: <1619720166.99.0.648507362303.issue43978@roundup.psfhosted.org>
2021-04-29 18:16:06Mariattalinkissue43978 messages
2021-04-29 18:16:06Mariattacreate