mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
![]() Fixes a bug where pygettext would attempt
to extract a message from a code like this:
def _(x): pass
This is because pygettext only looks at one
token at a time and '_(x)' looks like a
function call.
However, since 'x' is not a string literal,
it would erroneously issue a warning.
(cherry picked from commit
|
||
---|---|---|
.. | ||
i18n_data | ||
__init__.py | ||
__main__.py | ||
test_freeze.py | ||
test_i18n.py | ||
test_makefile.py | ||
test_makeunicodedata.py | ||
test_reindent.py | ||
test_sundry.py |