Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update Misc/NEWS.d/next/Library/2021-12-30-21-38-51.bpo-46195.jFKGq_.rst
Co-authored-by: Jelle Zijlstra <[email protected]>
  • Loading branch information
sobolevn and JelleZijlstra authored Feb 17, 2022
commit 153dd0903a1b3412aebd45e392106e992575e301
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Now :func:`typing.get_type_hints` does not add ``Optional`` to types with
explicit ``None`` default value. This aligns to changes to PEP 484 in
:func:`typing.get_type_hints` no longer adds ``Optional`` to parameters with
``None`` as a default. This aligns to changes to PEP 484 in
https://github.com/python/peps/pull/689