summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorPablo Galindo Salgado <Pablogsal@gmail.com>2021-11-16 22:31:16 (GMT)
committerGitHub <noreply@github.com>2021-11-16 22:31:16 (GMT)
commit5618c81e139419b4665dc1f1e8a468738546f542 (patch)
treeb83d7fb6c454bfe6e741321e512febc440616030 /Misc/NEWS.d
parent7bac59881969f6054fee12d4e3343b7fa1c43136 (diff)
downloadcpython-5618c81e139419b4665dc1f1e8a468738546f542.zip
cpython-5618c81e139419b4665dc1f1e8a468738546f542.tar.gz
cpython-5618c81e139419b4665dc1f1e8a468738546f542.tar.bz2
[3.10] bpo-45716: Improve the error message when using True/False/None as keywords in a call (GH-29413). (GH-29428)
(cherry picked from commit e2d65630f36712dbdbf7711520c985c526a5cc25) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2021-11-04-20-19-07.bpo-45716.5C0pA1.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-11-04-20-19-07.bpo-45716.5C0pA1.rst b/Misc/NEWS.d/next/Core and Builtins/2021-11-04-20-19-07.bpo-45716.5C0pA1.rst
new file mode 100644
index 0000000..682900c
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2021-11-04-20-19-07.bpo-45716.5C0pA1.rst
@@ -0,0 +1,2 @@
+Improve the :exc:`SyntaxError` message when using ``True``, ``None`` or
+``False`` as keywords in a function call. Patch by Pablo Galindo.