mariatta,
@mariatta@fosstodon.org avatar

Finding anything about f-strings docs in docs.python.org is hard (and I say this even as a core dev 🤨)

"F-strings" is like a "common name" that everybody knows now, but...it wasn't its original name.

First, the PEP for it is (PEP 498) is called "Formatted String Interpolation"

Then, CPython officially documents this feature not under "f-strings" heading but as "Formatted String Literal"

😵‍💫 🤕

  • All
  • Subscribed
  • Moderated
  • Favorites
  • python
  • InstantRegret
  • magazineikmin
  • khanakhh
  • Youngstown
  • mdbf
  • Durango
  • slotface
  • GTA5RPClips
  • ngwrru68w68
  • rosin
  • kavyap
  • osvaldo12
  • thenastyranch
  • DreamBathrooms
  • normalnudes
  • anitta
  • modclub
  • Leos
  • cubers
  • ethstaker
  • tacticalgear
  • everett
  • megavids
  • provamag3
  • tester
  • cisconetworking
  • JUstTest
  • lostlight
  • All magazines