https://github.com/python/cpython/commit/e4444538dcd60a1b655c620b4d3bba59a7830f25
commit: e4444538dcd60a1b655c620b4d3bba59a7830f25
branch: main
author: Vineet Kumar <[email protected]>
committer: terryjreedy <[email protected]>
date: 2026-05-05T22:25:08-04:00
summary:

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.

files:
M Lib/inspect.py

diff --git a/Lib/inspect.py b/Lib/inspect.py
index 9eb87b0d277918..b1bbdd4c365e3d 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