diff options
author | Pablo Galindo Salgado <Pablogsal@gmail.com> | 2021-11-16 22:31:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-16 22:31:16 (GMT) |
commit | 5618c81e139419b4665dc1f1e8a468738546f542 (patch) | |
tree | b83d7fb6c454bfe6e741321e512febc440616030 /Misc/NEWS.d | |
parent | 7bac59881969f6054fee12d4e3343b7fa1c43136 (diff) | |
download | cpython-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.rst | 2 |
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. |