Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add mention of inspect.Traceback to entry & further clarify
  • Loading branch information
CAM-Gerlach committed Oct 16, 2022
commit 940e5b8227156d0335e4d6985f8267a23e19b0f2
8 changes: 4 additions & 4 deletions Doc/whatsnew/3.11.rst
Original file line number Diff line number Diff line change
Expand Up @@ -743,10 +743,10 @@ inspect
for checking if the type of an object is a :class:`~types.MethodWrapperType`.
(Contributed by Hakan Çelik in :issue:`29418`.)

* Change the frame-related functions in the :mod:`inspect` module to return a
:class:`~inspect.FrameInfo` instance
(backwards compatible with the old :func:`~collections.namedtuple`-like
interface) that includes the extended :pep:`657` position information (end
* Change the frame-related functions in the :mod:`inspect` module to return new
:class:`~inspect.FrameInfo` and :class:`~inspect.Traceback` class instances
(backwards compatible with the previous :term:`named tuple`-like interfaces)
that includes the extended :pep:`657` position information (end
line number, column and end column). The affected functions are:

* :func:`inspect.getframeinfo`
Expand Down