diff options
Diffstat (limited to 'Doc/library/faulthandler.rst')
-rw-r--r-- | Doc/library/faulthandler.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/faulthandler.rst b/Doc/library/faulthandler.rst index d0c4cd0..94ebd87 100644 --- a/Doc/library/faulthandler.rst +++ b/Doc/library/faulthandler.rst @@ -152,10 +152,10 @@ these functions again each time that the file is replaced. Example ------- -.. highlight:: sh - Example of a segmentation fault on Linux with and without enabling the fault -handler:: +handler: + +.. code-block:: shell-session $ python3 -c "import ctypes; ctypes.string_at(0)" Segmentation fault |