bpo-45492: Corrected documentation for co_names in inspect library doc (GH-31456)

This commit is contained in:
slateny 2022-03-02 11:03:38 -08:00 committed by GitHub
parent b6b711a1aa
commit 3257d49d23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View 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 |
+-----------+-------------------+---------------------------+