From: Alex Vig Date: Fri, 24 Sep 2021 10:05:34 +0000 (-0400) Subject: bpo-30951: Correct co_names docstring in inspect module (GH-2743) X-Git-Tag: v3.11.0a1~81 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3f8b23f8ddab75d9b77a3997d54e663187e12cc8;p=thirdparty%2FPython%2Fcpython.git bpo-30951: Correct co_names docstring in inspect module (GH-2743) --- diff --git a/Lib/inspect.py b/Lib/inspect.py index a5f0352fc722..1b2fc918c813 100644 --- a/Lib/inspect.py +++ b/Lib/inspect.py @@ -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"""