-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Won't Fix
-
Affects Version/s: 4.0.0
-
Fix Version/s: NoFixVersionApplicable
-
Component/s: Framework
-
Tags:
-
Story Points:2
Defferent usages of string formatting can be found in the current code:
age = 42 'I am %d years old.' % (age,) 'I am {} years old.'.format(age)
The evolution is to use f-strings, which are simpler to write and memory efficient:
f'I am {age} years old.'