From 7b20c8ddccac437dcc55b480e9ba4a3afab3de89 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Wed, 6 May 2026 04:50:02 +0200 Subject: [PATCH] [3.14] gh-149096: Remove 'im_*' attribute reference from inspect module docstring (GH-149108) (#149439) 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 2d229051b4d..d3e406cae7d 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: