mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 16:39:37 +07:00
As a fallback value PySubstitutionChunkReference resolves into the right operand of "%" operator whenever it cannot find individual expressions for multiple positional formatted fields or a field with a key. I explicitly check and suppress the intention for such cases. In future it's better to introduce some sort of "strict resolve" semantic in the PySubstitutionChunkReference so as do these checks twice.
2 lines
62 B
Python
2 lines
62 B
Python
numbers = ('eins', 'zwei', 'drei')
|
|
'%s %s %s' % nu<caret>mbers |