Skip to content

Commit 6f5a4d2

Browse files
AA-Turnerhugovk
andauthored
Apply suggestions from code review
Co-authored-by: Hugo van Kemenade <[email protected]>
1 parent 95a3d82 commit 6f5a4d2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Doc/library/pdb.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ The debugger's prompt is ``(Pdb)``, which is the indicator that you are in debug
7575
arguments of the ``p`` command.
7676

7777

78-
.. _pdb-commandline:
78+
.. _pdb-cli:
7979
.. program:: pdb
8080

8181
You can also invoke :mod:`pdb` from the command line to debug other scripts. For

Doc/whatsnew/3.14.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2293,7 +2293,7 @@ gc
22932293
means that maximum pause times are reduced
22942294
by an order of magnitude or more for larger heaps.
22952295

2296-
Because of this optimisation, the meaning of the results of
2296+
Because of this optimization, the meaning of the results of
22972297
:meth:`~gc.get_threshold` and :meth:`~gc.set_threshold` have changed,
22982298
along with :meth:`~gc.get_count` and :meth:`~gc.get_stats`.
22992299

@@ -2343,7 +2343,7 @@ pdb
23432343

23442344
* :mod:`pdb` now supports two backends, based on either
23452345
:func:`sys.settrace` or :mod:`sys.monitoring`.
2346-
Using the :ref:`pdb CLI <pdb-commandline>` or :func:`breakpoint`
2346+
Using the :ref:`pdb CLI <pdb-cli>` or :func:`breakpoint`
23472347
will always use the :mod:`sys.monitoring` backend.
23482348
Explicitly instantiating :class:`pdb.Pdb` and its derived classes
23492349
will use the :func:`sys.settrace` backend by default, which is configurable.

0 commit comments

Comments
 (0)