]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-45492: Corrected documentation for co_names in inspect library doc (GH-31456)
authorslateny <46876382+slateny@users.noreply.github.com>
Wed, 2 Mar 2022 19:03:38 +0000 (11:03 -0800)
committerGitHub <noreply@github.com>
Wed, 2 Mar 2022 19:03:38 +0000 (19:03 +0000)
Doc/library/inspect.rst

index 7a6dc9c0337d8cf02cf34fac7b5fa2a2bbc72e47..8ee2c070cccf59ed83f68b238a91e368bd09249c 100644 (file)
@@ -191,8 +191,9 @@ attributes:
 |           |                   | which this code object    |
 |           |                   | was defined               |
 +-----------+-------------------+---------------------------+
-|           | co_names          | tuple of names of local   |
-|           |                   | variables                 |
+|           | co_names          | tuple of names other      |
+|           |                   | than arguments and        |
+|           |                   | function locals           |
 +-----------+-------------------+---------------------------+
 |           | co_nlocals        | number of local variables |
 +-----------+-------------------+---------------------------+