From e4444538dcd60a1b655c620b4d3bba59a7830f25 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 (#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. --- Lib/inspect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/inspect.py b/Lib/inspect.py index 9eb87b0d2779..b1bbdd4c365e 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: -- 2.47.3