Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 607 Bytes

File metadata and controls

23 lines (17 loc) · 607 Bytes

f_strings

Python 3.6 is getting literal string interpolation (see PEP 498). This is an imperfect backport for older Python versions.

Usage

>>> from f_strings import f
>>> adjective = 'great'
>>> f('f-strings are {adjective}!')
'f-strings are great!'

Issues