]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-149096: Remove 'im_*' attribute reference from inspect module docstring (#149108)
authorVineet Kumar <108144301+whyvineet@users.noreply.github.com>
Wed, 6 May 2026 02:25:08 +0000 (07:55 +0530)
committerGitHub <noreply@github.com>
Wed, 6 May 2026 02:25:08 +0000 (22:25 -0400)
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

index 9eb87b0d277918933e8dbe966624c487a9485de3..b1bbdd4c365e3d678fedf566da93b914fa53506f 100644 (file)
@@ -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: