summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/pdb.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/pdb.rst b/Doc/library/pdb.rst
index a72876f..c7864e9 100644
--- a/Doc/library/pdb.rst
+++ b/Doc/library/pdb.rst
@@ -76,6 +76,10 @@ at the location you want to break into the debugger. You can then step through
the code following this statement, and continue running without the debugger
using the :pdbcmd:`continue` command.
+.. versionadded:: 3.7
+ The built-in :func:`breakpoint()`, when called with defaults, can be used
+ instead of ``import pdb; pdb.set_trace()``.
+
The typical usage to inspect a crashed program is::
>>> import pdb