diff --git a/Lib/inspect.py b/Lib/inspect.py index 9a843d6420e2e0..a44e8eb3ceb25e 100644 --- a/Lib/inspect.py +++ b/Lib/inspect.py @@ -268,7 +268,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 of global variables used in the bytecode co_nlocals number of local variables co_stacksize virtual machine stack space required co_varnames tuple of names of arguments and local variables"""