summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Library
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2017-09-22 16:29:42 (GMT)
committerGitHub <noreply@github.com>2017-09-22 16:29:42 (GMT)
commit35425d638c0eeb8377620e016f47df3ae08d7061 (patch)
treea45cb506202bf162807a90d1d1ff81f64965c693 /Misc/NEWS.d/next/Library
parentb1558a0368949714f5765702a8d83a2d163eaacf (diff)
downloadcpython-35425d638c0eeb8377620e016f47df3ae08d7061.zip
cpython-35425d638c0eeb8377620e016f47df3ae08d7061.tar.gz
cpython-35425d638c0eeb8377620e016f47df3ae08d7061.tar.bz2
bpo-31389 Add an optional `header` argument to pdb.set_trace() (#3438)
* Give pdb.set_trace() an optional `header` argument * What's new. * Give pdb.set_trace() an optional `header` argument * What's new.
Diffstat (limited to 'Misc/NEWS.d/next/Library')
-rw-r--r--Misc/NEWS.d/next/Library/2017-09-07-15-31-47.bpo-31389.jNFYqB.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2017-09-07-15-31-47.bpo-31389.jNFYqB.rst b/Misc/NEWS.d/next/Library/2017-09-07-15-31-47.bpo-31389.jNFYqB.rst
new file mode 100644
index 0000000..7f45968
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2017-09-07-15-31-47.bpo-31389.jNFYqB.rst
@@ -0,0 +1,2 @@
+``pdb.set_trace()`` now takes an optional keyword-only argument ``header``.
+If given, this is printed to the console just before debugging begins.