Skip to content

Commit eb65e46

Browse files
iritkatrielslateny
andauthored
[3.10] bpo-45492: Corrected documentation for co_names in inspect library doc (GH-31456). (GH-31645)
(cherry picked from commit 3257d49) Co-authored-by: slateny <[email protected]> Co-authored-by: slateny <[email protected]>
1 parent 9326445 commit eb65e46

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Doc/library/inspect.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,9 @@ attributes:
187187
| | co_name | name with which this code |
188188
| | | object was defined |
189189
+-----------+-------------------+---------------------------+
190-
| | co_names | tuple of names of local |
191-
| | | variables |
190+
| | co_names | tuple of names other |
191+
| | | than arguments and |
192+
| | | function locals |
192193
+-----------+-------------------+---------------------------+
193194
| | co_nlocals | number of local variables |
194195
+-----------+-------------------+---------------------------+

0 commit comments

Comments
 (0)