Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-31389 Add an optional header argument to pdb.set_trace() #3438

Merged
merged 6 commits into from
Sep 22, 2017
Merged

Conversation

warsaw
Copy link
Member

@warsaw warsaw commented Sep 7, 2017

otherwise being debugged (e.g. when an assertion fails). If given,
``header`` is printed to the console just before debugging begins.

.. versionadded:: 3.7
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I never remember if versionadded in a function will cause sphinx to report that the whole function is new, or will display the text that you wrote.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the review! It displays the text; from a local build:

New in version 3.7: The keyword-only argument header.

@warsaw warsaw merged commit 35425d6 into master Sep 22, 2017
@warsaw warsaw deleted the pdb-header branch September 22, 2017 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants