https://github.com/python/cpython/commit/1cde4ed522a0a644b860b179702ee7af2b55c237
commit: 1cde4ed522a0a644b860b179702ee7af2b55c237
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: zware <[email protected]>
date: 2026-07-18T11:49:18Z
summary:

[3.14] gh-153808: Replace obsolete 'condition list' verbiage with 'expression 
list' in eval() docs (GH-153924)

(cherry picked from commit c5e97ed6351766deff488ea6d95e4aa0853943ae)

Co-authored-by: palakkhinvasara 
<[email protected]>

files:
M Doc/library/functions.rst

diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 5c28266b488f8d..7953375ee150df 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -600,9 +600,10 @@ are always available.  They are listed here in 
alphabetical order.
       untrusted user-supplied input will lead to security vulnerabilities.
 
    The *source* argument is parsed and evaluated as a Python expression
-   (technically speaking, a condition list) using the *globals* and *locals*
-   mappings as global and local namespace.  If the *globals* dictionary is
-   present and does not contain a value for the key ``__builtins__``, a
+   (technically speaking, an :ref:`expression list <exprlists>`)
+   using the *globals* and *locals* mappings as global and local namespace.
+   If the *globals* dictionary is present and does not contain a value for the
+   key ``__builtins__``, a
    reference to the dictionary of the built-in module :mod:`builtins` is
    inserted under that key before *source* is parsed.
    Overriding ``__builtins__`` can be used to restrict or change the available
@@ -622,6 +623,9 @@ are always available.  They are listed here in alphabetical 
order.
       >>> eval('x+1')
       2
 
+      >>> eval("1, 2")
+      (1, 2)
+
    This function can also be used to execute arbitrary code objects (such as
    those created by :func:`compile`).  In this case, pass a code object instead
    of a string.  If the code object has been compiled with ``'exec'`` as the

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to