3 ms·
> f'{GIT_DIR}/objects' Never seen a writing style like that. How is it called? I want to read some documentation and history.
by otheracc 5y ago
> f'{GIT_DIR}/objects'
Never seen a writing style like that. How is it called? I want to read some documentation and history.
- mixmastamyk 5y agoSting interpolation, aka f-string, pep 498. Uses the .format mini-language plus expressions. Python 3.6+
- mixmastamyk 5y ago^string of course.
- otheracc 5y agoThanks a lot, I'll check it out!