Skip to content

Commit

Permalink
Correct co_names documentation in inspect module
Browse files Browse the repository at this point in the history
  • Loading branch information
jalexvig committed Jul 20, 2017
1 parent efa26bc commit 17cb727
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/inspect.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""
Expand Down

0 comments on commit 17cb727

Please sign in to comment.