]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-149096: Remove 'im_*' attribute reference from inspect module docstring...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 6 May 2026 02:52:33 +0000 (04:52 +0200)
committerGitHub <noreply@github.com>
Wed, 6 May 2026 02:52:33 +0000 (02:52 +0000)
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

index d74444e27bed5ccfbdc3be1b4d6e673cb5f98def..ea384ba5b53bb2c1c247a044a3962ed7bb564a67 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: