summaryrefslogtreecommitdiffstats
path: root/Doc/library/pdb.rst
diff options
context:
space:
mode:
authorPaul Watson <paul.hermeneutic@gmail.com>2023-03-14 18:40:12 (GMT)
committerGitHub <noreply@github.com>2023-03-14 18:40:12 (GMT)
commit80abd62647b2a36947a11a6a8e395061be6f0c61 (patch)
tree35331b9b334f1d4beb8ea9ad256447f01d56eee1 /Doc/library/pdb.rst
parent1ff81c0cb67215694f084e51c4d35ae53b9f5cf9 (diff)
downloadcpython-80abd62647b2a36947a11a6a8e395061be6f0c61.zip
cpython-80abd62647b2a36947a11a6a8e395061be6f0c61.tar.gz
cpython-80abd62647b2a36947a11a6a8e395061be6f0c61.tar.bz2
gh-102354: change python3 to python in docs examples (#102696)
Diffstat (limited to 'Doc/library/pdb.rst')
-rw-r--r--Doc/library/pdb.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/pdb.rst b/Doc/library/pdb.rst
index 4ae12a5..21c6ca8 100644
--- a/Doc/library/pdb.rst
+++ b/Doc/library/pdb.rst
@@ -58,7 +58,7 @@ of the debugger is::
:file:`pdb.py` can also be invoked as a script to debug other scripts. For
example::
- python3 -m pdb myscript.py
+ python -m pdb myscript.py
When invoked as a script, pdb will automatically enter post-mortem debugging if
the program being debugged exits abnormally. After post-mortem debugging (or
@@ -72,7 +72,7 @@ useful than quitting the debugger upon program's exit.
.. versionadded:: 3.7
:file:`pdb.py` now accepts a ``-m`` option that execute modules similar to the way
- ``python3 -m`` does. As with a script, the debugger will pause execution just
+ ``python -m`` does. As with a script, the debugger will pause execution just
before the first line of the module.