diff options
author | slateny <46876382+slateny@users.noreply.github.com> | 2022-03-02 19:03:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-02 19:03:38 (GMT) |
commit | 3257d49d236e5f3453fe9d2fd8338bcdfe9756b7 (patch) | |
tree | 522dd9e1e0471f7a4a4c0c89190afb4ecd88e373 | |
parent | b6b711a1aa233001c1874af1d920e459b6bf962c (diff) | |
download | cpython-3257d49d236e5f3453fe9d2fd8338bcdfe9756b7.zip cpython-3257d49d236e5f3453fe9d2fd8338bcdfe9756b7.tar.gz cpython-3257d49d236e5f3453fe9d2fd8338bcdfe9756b7.tar.bz2 |
bpo-45492: Corrected documentation for co_names in inspect library doc (GH-31456)
-rw-r--r-- | Doc/library/inspect.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst index 7a6dc9c..8ee2c07 100644 --- a/Doc/library/inspect.rst +++ b/Doc/library/inspect.rst @@ -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 | +-----------+-------------------+---------------------------+ |