r/Python • • Jan 14 '24

Tutorial The LiteralString in Python 3.11

If you are confused by the new LiteralString type in Python, here's an article explaining it.

0 Upvotes

33 comments sorted by

View all comments

-6

u/[deleted] Jan 15 '24 edited Jan 15 '24

python gets worse and worse with each release. so much nonsense being added to the language.

point is, all the examples given are just poor practices that are indicative of a larger problem. In all these examples literalstring is not some saviour. each example requires refactoring to fix, dropping in literalstring does nothing.

-2

u/echocage Jan 15 '24

Cry more

1

u/[deleted] Jan 15 '24

Why?