]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-35835: Add reference to Python 3.7 new breakpoint() function in pdb documentation...
authorJoão Matos <jcrmatos@gmail.com>
Wed, 30 Jan 2019 17:23:39 +0000 (17:23 +0000)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 30 Jan 2019 17:23:39 +0000 (09:23 -0800)
Doc/library/pdb.rst

index a72876f3f5a8c072fe7bd5db25236ccf055e443e..c7864e9e3f222565df26796c2e8697a8118a51a3 100644 (file)
@@ -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