Why f-strings are better

27 views
Skip to first unread message

Edward K. Ream

unread,
Sep 6, 2019, 3:14:09 PM9/6/19
to leo-editor
PEP 498, tells why, clearly, and in detail.

Edward

Edward K. Ream

unread,
Sep 6, 2019, 4:43:39 PM9/6/19
to leo-editor
On Friday, September 6, 2019 at 2:14:09 PM UTC-5, Edward K. Ream wrote:

PEP 498, tells why, clearly, and in detail.

The PEP doesn't explicitly mention that pylint and pyflakes check the expressions in f-strings.

My tests show that pyflakes finds "local" misspellings.  pylint finds "global" misspellings by checking attributes of classes and modules.  This is great news.

Edward
Reply all
Reply to author
Forward
0 new messages