mirror of
https://github.com/python/cpython.git
synced 2024-11-27 23:47:29 +01:00
9a456383be
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.
3 lines
112 B
ReStructuredText
3 lines
112 B
ReStructuredText
Fix extraction warnings in :program:`pygettext.py` caused by mistaking
|
|
function definitions for function calls.
|