commit | bfc6b63102d37ccb58a71711e2342143cd9f4d86 | [log] [tgz] |
---|---|---|
author | jack1142 <6032823+jack1142@users.noreply.github.com> | Mon Nov 09 23:50:45 2020 +0100 |
committer | GitHub <noreply@github.com> | Tue Nov 10 01:50:45 2020 +0300 |
tree | 7363462e163ebfa86f099802493389b42f217871 | |
parent | 1f73c320e2921605c4963e202f6bdac1ef18f2ce [diff] |
bpo-36310: Allow pygettext.py to detect calls to gettext in f-strings. (GH-19875) Adds support to Tools/i18n/pygettext.py for gettext calls in f-strings. This process is done by parsing the f-strings, processing each value, and flagging the ones which contain a gettext call. Co-authored-by: Batuhan Taskaya <batuhanosmantaskaya@gmail.com>