summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2022-03-05 13:59:24 (GMT)
committerGitHub <noreply@github.com>2022-03-05 13:59:24 (GMT)
commitab9301a28fa431d7a32163126fc96de3b2ce6107 (patch)
tree940f6d0813671a006052b334e0f836e61f97a78e /Misc
parent2031149b9a7dfab5f5bad63f417e19f4fc2b9661 (diff)
downloadcpython-ab9301a28fa431d7a32163126fc96de3b2ce6107.zip
cpython-ab9301a28fa431d7a32163126fc96de3b2ce6107.tar.gz
cpython-ab9301a28fa431d7a32163126fc96de3b2ce6107.tar.bz2
bpo-46927: Include the type's name in the error message for subscripting non-generic types (GH-31694)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2022-03-05-12-23-58.bpo-46927.URbHBi.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-03-05-12-23-58.bpo-46927.URbHBi.rst b/Misc/NEWS.d/next/Core and Builtins/2022-03-05-12-23-58.bpo-46927.URbHBi.rst
new file mode 100644
index 0000000..cd59fb8
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2022-03-05-12-23-58.bpo-46927.URbHBi.rst
@@ -0,0 +1,2 @@
+Include the type's name in the error message for subscripting non-generic
+types.