summaryrefslogtreecommitdiffstats
path: root/Doc/library/faulthandler.rst
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2023-01-11 10:05:41 (GMT)
committerGitHub <noreply@github.com>2023-01-11 10:05:41 (GMT)
commit847d7708ba8739a5d5d31f22d71497527a7d8241 (patch)
tree58d716731eaf7ff9b9e5bd806d1c8a2b26157ff9 /Doc/library/faulthandler.rst
parent8795ad1bd0d6ee031543fcaf5a86a60b37950714 (diff)
downloadcpython-847d7708ba8739a5d5d31f22d71497527a7d8241.zip
cpython-847d7708ba8739a5d5d31f22d71497527a7d8241.tar.gz
cpython-847d7708ba8739a5d5d31f22d71497527a7d8241.tar.bz2
gh-98763: Prefer "python" over "python3" for command line examples in docs. (#98761)
Diffstat (limited to 'Doc/library/faulthandler.rst')
-rw-r--r--Doc/library/faulthandler.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/faulthandler.rst b/Doc/library/faulthandler.rst
index be09123..07a7489 100644
--- a/Doc/library/faulthandler.rst
+++ b/Doc/library/faulthandler.rst
@@ -166,10 +166,10 @@ handler:
.. code-block:: shell-session
- $ python3 -c "import ctypes; ctypes.string_at(0)"
+ $ python -c "import ctypes; ctypes.string_at(0)"
Segmentation fault
- $ python3 -q -X faulthandler
+ $ python -q -X faulthandler
>>> import ctypes
>>> ctypes.string_at(0)
Fatal Python error: Segmentation fault