From: Vineet Kumar <108144301+whyvineet@users.noreply.github.com> Date: Wed, 6 May 2026 02:25:08 +0000 (+0530) Subject: gh-149096: Remove 'im_*' attribute reference from inspect module docstring (#149108) X-Git-Tag: v3.15.0b1~33 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e4444538dcd60a1b655c620b4d3bba59a7830f25;p=thirdparty%2FPython%2Fcpython.git 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. --- 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: