https://github.com/python/cpython/commit/59b260c61b5abb75edcb2b0ab901274a58dfc856
commit: 59b260c61b5abb75edcb2b0ab901274a58dfc856
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: terryjreedy <[email protected]>
date: 2026-05-06T02:52:33Z
summary:

[3.13] gh-149096: Remove  'im_*' attribute reference from inspect module 
docstring (GH-149108) (#149440)

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 <[email protected]>

files:
M Lib/inspect.py

diff --git a/Lib/inspect.py b/Lib/inspect.py
index d74444e27bed5c..ea384ba5b53bb2 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:

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to