elements-of-python-style
elements-of-python-style copied to clipboard
Fixes issue #41 with a reference to f-strings to address issue #41
@amontalenti , I hope this saves you some time...
F-strings are new in Python 3.6 You may find them easier to compose and to read f"result: {value:{width}.{precision}}"
. The tradeoffs are localization and security. Python executes f-strings, so they present an additional attack surface: avoid including user-generated data.
- @jtimmins-post20