[issue28073] Update documentation about None vs type(None) in typing

2016-09-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 75514816741a by Guido van Rossum in branch '3.5': Issue #28073: Improve wording around None. Michael Lee. https://hg.python.org/cpython/rev/75514816741a New changeset 7a4a16a880a4 by Guido van Rossum in branch 'default': Issue #28073: Improve

[issue28073] Update documentation about None vs type(None) in typing

2016-09-10 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks! Busy Saturday night, right? :-) -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue28073] Update documentation about None vs type(None) in typing

2016-09-10 Thread Michael Lee
New submission from Michael Lee: For some reason, the section of the typing docs about Optional stated that Optional[T] was equivalent to Union[T, type(None)]. While this is true, it's somewhat inconsistent and potentially confusing since everywhere else in the docs, we just use None. This