r/Python • • Sep 15 '20

Resource Python 3.9: All You need to know 👊

https://ayushi7rawat.hashnode.dev/python-39-all-you-need-to-know
1.2k Upvotes

204 comments sorted by

View all comments

0

u/[deleted] Sep 15 '20

[deleted]

1

u/TheIncorrigible1 `__import__('rich').get_console().log(':100:')` Sep 15 '20

Good link. I'm disappointed that they don't separate the words for some reason in removeprefix/suffix. Why do they constantly make inconsistent decisions like this?

0

u/[deleted] Sep 15 '20

[deleted]

3

u/TheIncorrigible1 `__import__('rich').get_console().log(':100:')` Sep 15 '20

remove_prefix, yes. removePrefix would really break me just like using the logging package does already.

0

u/[deleted] Sep 15 '20

[deleted]

0

u/[deleted] Sep 15 '20

[deleted]

0

u/[deleted] Sep 15 '20

[deleted]

2

u/execrator Sep 15 '20

Not for your own code of course, but we're talking about the standard library here. If every contributor used their own style things would be a mess (not that there aren't a couple of messes already!)

→ More replies (2)