summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-11-04 04:27:47 (GMT)
committerGitHub <noreply@github.com>2021-11-04 04:27:47 (GMT)
commitc10896696f47a8348e6d9ea3c1d96fa6ba131a31 (patch)
tree181e95ed518a609904c5280328de9deee0367828 /Misc/NEWS.d
parentf1918385cccf3ef51d339dfa1f3654005508f307 (diff)
downloadcpython-c10896696f47a8348e6d9ea3c1d96fa6ba131a31.zip
cpython-c10896696f47a8348e6d9ea3c1d96fa6ba131a31.tar.gz
cpython-c10896696f47a8348e6d9ea3c1d96fa6ba131a31.tar.bz2
bpo-45680: ``typing`` docs: improve links to docs on ``GenericAlias``/``__class_getitem__`` (GH-29387)
(cherry picked from commit e03e50377d6f8f212af60fed4ae405ebeb73237d) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Documentation/2021-11-03-14-51-03.bpo-45680.9_NTFU.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Documentation/2021-11-03-14-51-03.bpo-45680.9_NTFU.rst b/Misc/NEWS.d/next/Documentation/2021-11-03-14-51-03.bpo-45680.9_NTFU.rst
new file mode 100644
index 0000000..79ea6e3
--- /dev/null
+++ b/Misc/NEWS.d/next/Documentation/2021-11-03-14-51-03.bpo-45680.9_NTFU.rst
@@ -0,0 +1,3 @@
+Amend the docs on ``GenericAlias`` objects to clarify that non-container
+classes can also implement ``__class_getitem__``. Patch contributed by Alex
+Waygood.