diff options
author | Barry Warsaw <barry@python.org> | 2017-09-22 16:29:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-22 16:29:42 (GMT) |
commit | 35425d638c0eeb8377620e016f47df3ae08d7061 (patch) | |
tree | a45cb506202bf162807a90d1d1ff81f64965c693 /Doc/whatsnew | |
parent | b1558a0368949714f5765702a8d83a2d163eaacf (diff) | |
download | cpython-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 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.7.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst index 870ca06..a19a289 100644 --- a/Doc/whatsnew/3.7.rst +++ b/Doc/whatsnew/3.7.rst @@ -232,6 +232,13 @@ New function :func:`os.register_at_fork` allows registering Python callbacks to be executed on a process fork. (Contributed by Antoine Pitrou in :issue:`16500`.) +pdb +--- + +:func:`~pdb.set_trace` now takes an optional ``header`` keyword-only +argument. If given, this is printed to the console just before debugging +begins. + string ------ |