diff options
author | Alex Vig <jalexvig@gmail.com> | 2021-09-24 10:05:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-24 10:05:34 (GMT) |
commit | 3f8b23f8ddab75d9b77a3997d54e663187e12cc8 (patch) | |
tree | 2a63452df6d988b36632e060b22412e6b6e24351 /Lib/inspect.py | |
parent | 55b45bf707c6c8084db259fe2f8aa08e84ea0d99 (diff) | |
download | cpython-3f8b23f8ddab75d9b77a3997d54e663187e12cc8.zip cpython-3f8b23f8ddab75d9b77a3997d54e663187e12cc8.tar.gz cpython-3f8b23f8ddab75d9b77a3997d54e663187e12cc8.tar.bz2 |
bpo-30951: Correct co_names docstring in inspect module (GH-2743)
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 a5f0352..1b2fc91 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""" |