Skip to content

Commit 3f8b23f

Browse files
authored
bpo-30951: Correct co_names docstring in inspect module (GH-2743)
1 parent 55b45bf commit 3f8b23f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/inspect.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ def iscode(object):
395395
co_kwonlyargcount number of keyword only arguments (not including ** arg)
396396
co_lnotab encoded mapping of line numbers to bytecode indices
397397
co_name name with which this code object was defined
398-
co_names tuple of names of local variables
398+
co_names tuple of names other than arguments and function locals
399399
co_nlocals number of local variables
400400
co_stacksize virtual machine stack space required
401401
co_varnames tuple of names of arguments and local variables"""

0 commit comments

Comments
 (0)