From 5cdb97f03e0f0c014ec0bde2f1d2bab8fe37da46 Mon Sep 17 00:00:00 2001 From: "Kai (Kazuya Ito)" Date: Thu, 5 Mar 2026 14:38:23 +0900 Subject: [PATCH 1/3] Update typing.rst for type alias assignment syntax --- Doc/library/typing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 09e9103e1b80d04..ba4ba727951f31e 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -104,7 +104,7 @@ Type aliases are useful for simplifying complex type signatures. For example:: ... The :keyword:`type` statement is new in Python 3.12. For backwards -compatibility, type aliases can also be created through simple assignment:: +compatibility, type aliases can also be created through :ref:`augassign`:: Vector = list[float] From f3eb0d4a946a77bdf0a2ad8425b8caaa44dc509e Mon Sep 17 00:00:00 2001 From: "Kai (Kazuya Ito)" Date: Thu, 5 Mar 2026 15:08:11 +0900 Subject: [PATCH 2/3] Update typing.rst --- Doc/library/typing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index ba4ba727951f31e..3bf091b30199038 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -104,7 +104,7 @@ Type aliases are useful for simplifying complex type signatures. For example:: ... The :keyword:`type` statement is new in Python 3.12. For backwards -compatibility, type aliases can also be created through :ref:`augassign`:: +compatibility, type aliases can also be created through :ref:`augmented assignment statement `:: Vector = list[float] From 6eb9e8465b2e08a42c0101fc939adf49ed0257c1 Mon Sep 17 00:00:00 2001 From: "Kai (Kazuya Ito)" Date: Thu, 5 Mar 2026 15:16:36 +0900 Subject: [PATCH 3/3] Update typing.rst --- Doc/library/typing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 3bf091b30199038..d925e39e4e8ccdf 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -104,7 +104,7 @@ Type aliases are useful for simplifying complex type signatures. For example:: ... The :keyword:`type` statement is new in Python 3.12. For backwards -compatibility, type aliases can also be created through :ref:`augmented assignment statement `:: +compatibility, type aliases can also be created through :ref:`assignment statement `:: Vector = list[float]