Skip to content

Commit 418e7b1

Browse files
Update description
1 parent 2cda74c commit 418e7b1

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

Doc/library/pdb.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,8 @@ access further features, you have to do this yourself:
246246
Added the *mode* argument.
247247

248248
.. versionchanged:: 3.14
249-
*skip* will be ignored if inline breakpoints like :func:`breakpoint` or :func:`set_trace` are used.
249+
Inline breakpoints like :func:`breakpoint` or :func:`pdb.set_trace` will
250+
always stop the program at calling frame, ignoring the *skip* pattern (if any).
250251

251252
.. method:: run(statement, globals=None, locals=None)
252253
runeval(expression, globals=None, locals=None)

Doc/whatsnew/3.14.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -709,9 +709,9 @@ pdb
709709
the quit and call :func:`sys.exit`, instead of raising :exc:`bdb.BdbQuit`.
710710
(Contributed by Tian Gao in :gh:`124704`.)
711711

712-
* :mod:`pdb` will always stop on calling frames when inline breakpoints like
713-
:func:`breakpoint` or :func:`pdb.set_trace` are used, ignoring the ``skip``
714-
pattern (if any).
712+
* Inline breakpoints like :func:`breakpoint` or :func:`pdb.set_trace` will
713+
always stop the program at calling frame, ignoring the ``skip`` pattern
714+
(if any).
715715
(Contributed by Tian Gao in :gh:`130493`.)
716716

717717

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
:mod:`pdb` will always stop on calling frames when inline breakpoints like :func:`breakpoint` or :func:`pdb.set_trace` are used, ignoring the ``skip`` pattern (if any).
1+
Inline breakpoints like :func:`breakpoint` or :func:`pdb.set_trace` will always stop the program at calling frame, ignoring the ``skip`` pattern (if any).

0 commit comments

Comments
 (0)