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-36774: Add !d to f-strings to make debugging easier. #13059

Closed
wants to merge 20 commits into from

Conversation

ericvsmith
Copy link
Member

@ericvsmith ericvsmith commented May 2, 2019

!d will expand to the text of the expression, an equal sign, and the repr of the value of the expression.

https://bugs.python.org/issue36774

Copy link
Member

@tirkarthi tirkarthi left a comment

Choose a reason for hiding this comment

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

This can have a WhatsNew entry since this is very helpful and increases the visibility of this feature for the next alpha release.

@ericvsmith ericvsmith self-assigned this May 2, 2019
@ericvsmith
Copy link
Member Author

ericvsmith commented May 7, 2019

Closed in favor of bpo-36817.

@ericvsmith ericvsmith closed this May 7, 2019
@ericvsmith ericvsmith deleted the fstring-bang-x branch May 8, 2019 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants