bpo-30951: Correct co_names docstring in inspect module (GH-2743) (GH… · python/cpython@7d652c1 (original) (raw)

Original file line number Diff line number Diff line change
@@ -395,7 +395,7 @@ def iscode(object):
395 395 co_kwonlyargcount number of keyword only arguments (not including ** arg)
396 396 co_lnotab encoded mapping of line numbers to bytecode indices
397 397 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
399 399 co_nlocals number of local variables
400 400 co_stacksize virtual machine stack space required
401 401 co_varnames tuple of names of arguments and local variables"""