Skip to content

Commit

Permalink
bpo-30951: Correct co_names docstring in inspect module (pythonGH-2743)
Browse files Browse the repository at this point in the history
(cherry picked from commit 3f8b23f)

Co-authored-by: Alex Vig <[email protected]>
  • Loading branch information
jalexvig authored and miss-islington committed Sep 24, 2021
1 parent d672dd3 commit 2a3b63f
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 @@ -277,7 +277,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"""
Expand Down

0 comments on commit 2a3b63f

Please sign in to comment.