From 621aac4aca1829f8a633b2b28de6fca0858f985b Mon Sep 17 00:00:00 2001 From: Vineet Kumar <108144301+whyvineet@users.noreply.github.com> Date: Wed, 6 May 2026 07:55:08 +0530 Subject: [PATCH] gh-149096: Remove 'im_*' attribute reference from inspect module docstring (GH-149108) The im_class/func/self names were removed in 3.0. The prefix appears nowhere else in inspect.py and nowhere in inspect.rst. (cherry picked from commit e4444538dcd60a1b655c620b4d3bba59a7830f25) Co-authored-by: Vineet Kumar <108144301+whyvineet@users.noreply.github.com> --- Lib/inspect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/inspect.py b/Lib/inspect.py index 2d229051b4d3c4..d3e406cae7d228 100644 --- a/Lib/inspect.py +++ b/Lib/inspect.py @@ -1,7 +1,7 @@ """Get useful information from live Python objects. This module encapsulates the interface provided by the internal special -attributes (co_*, im_*, tb_*, etc.) in a friendlier fashion. +attributes (co_*, tb_*, etc.) in a friendlier fashion. It also provides some help for examining source code and class layout. Here are some of the useful functions provided by this module: