summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next
diff options
context:
space:
mode:
authorkj <28750310+Fidget-Spinner@users.noreply.github.com>2020-10-20 23:38:08 (GMT)
committerGitHub <noreply@github.com>2020-10-20 23:38:08 (GMT)
commit7cdf30fff39ea97f403b5472096349998d190e30 (patch)
treee050e285f1f90c671ca1f5dc089c61b9f9205cb0 /Misc/NEWS.d/next
parent2d55aa9e37c9c84f4f6a8135d0326da0bcd8f38b (diff)
downloadcpython-7cdf30fff39ea97f403b5472096349998d190e30.zip
cpython-7cdf30fff39ea97f403b5472096349998d190e30.tar.gz
cpython-7cdf30fff39ea97f403b5472096349998d190e30.tar.bz2
bpo-42010: [docs] Clarify subscription of types (GH-22822)
Diffstat (limited to 'Misc/NEWS.d/next')
-rw-r--r--Misc/NEWS.d/next/Documentation/2020-10-21-02-21-14.bpo-42010.76vJ0u.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Documentation/2020-10-21-02-21-14.bpo-42010.76vJ0u.rst b/Misc/NEWS.d/next/Documentation/2020-10-21-02-21-14.bpo-42010.76vJ0u.rst
new file mode 100644
index 0000000..2a0cbf1
--- /dev/null
+++ b/Misc/NEWS.d/next/Documentation/2020-10-21-02-21-14.bpo-42010.76vJ0u.rst
@@ -0,0 +1,4 @@
+Clarify that subscription expressions are also valid for certain
+:term:`classes <class>` and :term:`types <type>` in the standard library, and
+for user-defined classes and types if the classmethod
+:meth:`__class_getitem__` is provided.