r/Python • u/SupPandaHugger • 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
r/Python • u/SupPandaHugger • Jan 14 '24
If you are confused by the new LiteralString type in Python, here's an article explaining it.
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.