From 337a9ce0d0d450da480436bf1461240b46560d12 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 20 Nov 2019 12:47:39 +0000 Subject: [PATCH] PEP 589: Fix typos (#1238) --- pep-0589.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pep-0589.rst b/pep-0589.rst index a007adfa1..c296e6af6 100644 --- a/pep-0589.rst +++ b/pep-0589.rst @@ -336,7 +336,7 @@ Alternative Syntax This PEP also proposes an alternative syntax that can be backported to older Python versions such as 3.5 and 2.7 that don't support the -variable definition syntax introduced in PEP 526 [#PEP-526]. It +variable definition syntax introduced in PEP 526 [#PEP-526]_. It resembles the traditional syntax for defining named tuples:: Movie = TypedDict('Movie', {'name': str, 'year': int}) @@ -364,7 +364,7 @@ Type Consistency Informally speaking, *type consistency* is a generalization of the is-subtype-of relation to support the ``Any`` type. It is defined -more formally in PEP 483 [#PEP-483]_). This section introduces the +more formally in PEP 483 [#PEP-483]_. This section introduces the new, non-trivial rules needed to support type consistency for TypedDict types.