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 scop
Recipients docs@python, scop
Date 2018-08-05.06:51:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1533451885.05.0.56676864532.issue34336@psf.upfronthosting.co.za>
In-reply-to
Content
The documentation of typing.Optional seems to promote practices for not specifying Optional that are recommended against in PEP 484:

https://www.python.org/dev/peps/pep-0484/#union-types -- end of chapter recommends against inferring Optional.

https://docs.python.org/3.8/library/typing.html#typing.Optional -- second paragraph promotes the possibility of leaving out Optional.

I'm not sure how to improve the typing.Optional doc wording, perhaps it would be better to just remove the second paragraph altogether.
History
Date User Action Args
2018-08-05 06:51:25scopsetrecipients: + scop, docs@python
2018-08-05 06:51:25scopsetmessageid: <1533451885.05.0.56676864532.issue34336@psf.upfronthosting.co.za>
2018-08-05 06:51:24scoplinkissue34336 messages
2018-08-05 06:51:24scopcreate