Skip to content

Commit

Permalink
Use native PEP link
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfstr committed Jan 19, 2022
1 parent b103477 commit c687b87
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pep-0655.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Post-History: 31-Jan-2021, 11-Feb-2021, 20-Feb-2021, 26-Feb-2021, 17-Jan-2022
Abstract
========

`PEP 589 <https://www.python.org/dev/peps/pep-0589/>`__ defines syntax
:pep:`589` defines syntax
for declaring a TypedDict with all required keys and syntax for defining
a TypedDict with `all potentially-missing
keys <https://www.python.org/dev/peps/pep-0589/#totality>`__ however it
Expand Down Expand Up @@ -488,8 +488,7 @@ Replace Optional with Nullable. Repurpose Optional to mean “optional item”.
---------------------------------------------------------------------------

``Optional[]`` is too ubiquitous to deprecate. Although use of it
*may* fade over time in favor of the ``T|None`` syntax specified by `PEP
604 <https://www.python.org/dev/peps/pep-0604/>`__.
*may* fade over time in favor of the ``T|None`` syntax specified by :pep:`604`.


Change Optional to mean “optional item” in certain contexts instead of “nullable”
Expand Down

0 comments on commit c687b87

Please sign in to comment.