Re:Python Standard Library changes in recent years
by rcfox on Saturday May 21, 2022 @01:23AM
(#31455454)
Python's style guide prefers words separated by underscores, but makes an exception to match the prevailing style of the module. `removesuffix` is consistent with the naming style of the rest of the `str` methods. `str` is such a fundamental class that it likely predates the current style guide. (All of the `int` named methods seem to be new to Python 3.)
[ Parent
| on HN ]
There are no comments on this comment yet.