From c687b87a364db8a91e7ae2ca0685969229b6bb19 Mon Sep 17 00:00:00 2001 From: David Foster Date: Wed, 19 Jan 2022 06:18:32 -0800 Subject: [PATCH] Use native PEP link --- pep-0655.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pep-0655.rst b/pep-0655.rst index 303c806a8fdd..b77b94e05cc4 100644 --- a/pep-0655.rst +++ b/pep-0655.rst @@ -14,7 +14,7 @@ Post-History: 31-Jan-2021, 11-Feb-2021, 20-Feb-2021, 26-Feb-2021, 17-Jan-2022 Abstract ======== -`PEP 589 `__ 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 `__ however it @@ -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 `__. +*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”