Python Forum
side effects in f-strings - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: General (https://python-forum.io/forum-1.html)
+--- Forum: News and Discussions (https://python-forum.io/forum-31.html)
+--- Thread: side effects in f-strings (/thread-20951.html)



side effects in f-strings - Skaperen - Sep-08-2019

if you def a function that has an intentional side effect is it valid to call that function in an f-string when using the official CPython?