Skip to content

Commit

Permalink
bpo-30951: Correct co_names docstring in inspect module (GH-2743) (GH…
Browse files Browse the repository at this point in the history
…-28543)

(cherry picked from commit 3f8b23f)

Co-authored-by: Alex Vig <[email protected]>
  • Loading branch information
2 people authored and pablogsal committed Sep 29, 2021
1 parent cdfbe58 commit 7d652c1
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 @@ -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"""
Expand Down

0 comments on commit 7d652c1

Please sign in to comment.