bpo-30721: Addresses minor fixes of adding ? to redirection syntax#3131
Conversation
ncoghlan
left a comment
There was a problem hiding this comment.
While English does in general suggest that trailing punctuation should go inside quotation marks (although I've never personally understood that guideline), in this case it should definitely be outside, as what's inside is expected to be a Python expression, not English text.
| "unsupported operand type(s) for %.100s: " | ||
| "'%.100s' and '%.100s'. Did you mean \"print(<message>, " | ||
| "file=<output_stream>)\"", | ||
| "file=<output_stream>)?\"", |
There was a problem hiding this comment.
The question mark should be outside the quote marks, since it isn't part of the suggested Python code.
|
A Python core developer, ncoghlan, has requested some changes be Once you have made the requested changes, please leave a comment |
|
I didn't expect the Spanish Inquisition! |
|
Nobody expects the Spanish Inquisition! @ncoghlan: please review the changes made to this pull request. |
|
Thanks @ncoghlan :) |
Addresses the minor fixes for PR #2345
cc @ncoghlan
https://bugs.python.org/issue30721