From 3d5f0c8eb70cc191c82fc93feb9bad5cb5754318 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 5 Sep 2013 23:29:40 +0200 Subject: [PATCH] PEP 454: add link to faulthandler doc --- pep-0454.txt | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pep-0454.txt b/pep-0454.txt index 8b056df00..5d75eaccc 100644 --- a/pep-0454.txt +++ b/pep-0454.txt @@ -56,11 +56,13 @@ following information: * Location of a Python memory allocation: size in bytes, Python filename and line number -The tracemalloc module has an API close the the faulthandler module: -``enable()``, ``disable()`` and ``is_enabled()`` functions, an -environment variable (``PYTHONFAULTHANDLER`` and ``PYTHONTRACEMALLOC``), -a ``-X`` command line option (``-X faulthandler`` and ``-X -tracemalloc``). +The API of the tracemalloc module is similar to the API of the +faulthandler module: ``enable()``, ``disable()`` and ``is_enabled()`` +functions, an environment variable (``PYTHONFAULTHANDLER`` and +``PYTHONTRACEMALLOC``), a ``-X`` command line option (``-X +faulthandler`` and ``-X tracemalloc``). See the +`documentation of the faulthandler module +`_. The tracemalloc module has been written for CPython. Other implementations of Python may not provide it.