Skip to content

Commit 3257d49

Browse files
authored
bpo-45492: Corrected documentation for co_names in inspect library doc (GH-31456)
1 parent b6b711a commit 3257d49

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
@@ -191,8 +191,9 @@ attributes:
191191
| | | which this code object |
192192
| | | was defined |
193193
+-----------+-------------------+---------------------------+
194-
| | co_names | tuple of names of local |
195-
| | | variables |
194+
| | co_names | tuple of names other |
195+
| | | than arguments and |
196+
| | | function locals |
196197
+-----------+-------------------+---------------------------+
197198
| | co_nlocals | number of local variables |
198199
+-----------+-------------------+---------------------------+

0 commit comments

Comments
 (0)