Python Forum

Full Version: side effects in f-strings
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?