Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
Remove trailing whitespace from python.gram#133175
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
LGTM! Thanks@rffontenelle!
fd0f5d0
intopython:mainUh oh!
There was an error while loading.Please reload this page.
rffontenelle commentedApr 30, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Can this be backported for previous versions? I mean normally one would trigger the bot for backporting to orrvious versions. |
I'm not sure whether we backport "stylistic" changes like this, so I'll let someone else decide. |
The intention is to solve "trailing whitespace" warning by sphinx-lint when running against translation files.
Grammar/python.gram
isincluded by Doc/reference/grammar.rst. So running Sphinxgettext
builder (make -C Doc gettext
) results in the whole grammar content being extracted to translation files (Doc/build/gettext/reference/grammar.pot
will be generated and used as the template for translation files).In the current situation, running sphinx-lint against translation files and having the grammar content simply copied and pasted into the translation (msgstr) will cause warnings like this: