MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/it4x8o/python_39_all_you_need_to_know/g5dmt0y/?context=3
r/Python • u/cheerfulboy • Sep 15 '20
204 comments sorted by
View all comments
0
[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? 4 u/miggaz_elquez Sep 15 '20 Because it's consistent with all str methods :str.isupper, str.startswith, ... 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. → More replies (6)
1
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?
removeprefix
suffix
4 u/miggaz_elquez Sep 15 '20 Because it's consistent with all str methods :str.isupper, str.startswith, ... 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. → More replies (6)
4
Because it's consistent with all str methods :
str.isupper, str.startswith, ...
str.isupper
str.startswith
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. → More replies (6)
3
remove_prefix, yes. removePrefix would really break me just like using the logging package does already.
remove_prefix
removePrefix
logging
→ More replies (6)
0
u/[deleted] Sep 15 '20
[deleted]