diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-09-24 10:38:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-24 10:38:55 (GMT) |
commit | 402d5f3d77684c91ad02a2ab5223673bec5f1602 (patch) | |
tree | b469f67a1a313fa26645868e0f114780ef99b1c0 /Lib/inspect.py | |
parent | 87f97fe5e6434da51246d70af9e2cd7d63c29fba (diff) | |
download | cpython-402d5f3d77684c91ad02a2ab5223673bec5f1602.zip cpython-402d5f3d77684c91ad02a2ab5223673bec5f1602.tar.gz cpython-402d5f3d77684c91ad02a2ab5223673bec5f1602.tar.bz2 |
bpo-30951: Correct co_names docstring in inspect module (GH-2743) (GH-28543)
(cherry picked from commit 3f8b23f8ddab75d9b77a3997d54e663187e12cc8)
Co-authored-by: Alex Vig <jalexvig@gmail.com>
Diffstat (limited to 'Lib/inspect.py')
-rw-r--r-- | Lib/inspect.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/inspect.py b/Lib/inspect.py index 7aedcf1..2374e59 100644 --- a/Lib/inspect.py +++ b/Lib/inspect.py @@ -395,7 +395,7 @@ def iscode(object): co_kwonlyargcount number of keyword only arguments (not including ** arg) co_lnotab encoded mapping of line numbers to bytecode indices co_name name with 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 co_stacksize virtual machine stack space required co_varnames tuple of names of arguments and local variables""" |