Skip to content

Commit 9ba7bb8

Browse files
committed
Fix doc
1 parent 948551c commit 9ba7bb8

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

Doc/library/pdb.rst

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -641,12 +641,6 @@ can be overridden by the local file.
641641

642642
.. pdbcommand:: exceptions [excnumber]
643643

644-
.. versionadded:: 3.13
645-
646-
``exceptions [excnumber]`` command and passing exceptions by default to
647-
:func:`post_mortem`.
648-
649-
650644
List or jump between chained exceptions.
651645

652646
When using ``pdb.pm()`` or ``Pdb.post_mortem(...)`` with a chained exception
@@ -692,6 +686,7 @@ can be overridden by the local file.
692686
> example.py(10)middle()
693687
-> return inner(0)
694688

689+
.. versionadded:: 3.13
695690

696691
.. rubric:: Footnotes
697692

Lib/pdb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2022,7 +2022,7 @@ def post_mortem(t=None):
20222022
p.interaction(None, t)
20232023

20242024
def pm():
2025-
"""Enter post-mortem debugging of the traceback found in sys.last_traceback."""
2025+
"""Enter post-mortem debugging of the traceback found in sys.last_exc."""
20262026
post_mortem(sys.last_exc)
20272027

20282028

0 commit comments

Comments
 (0)