Re:Python Standard Library changes in recent years
by ehsankia on Saturday May 21, 2022 @12:55AM
(#31455334)
What do you mean? That one's a verb and the other isn't? I think it's fine here. The latter returns a modified version of the string, whereas the former is more like a property of the int, like it's "length", although Python also doesn't have .length so I guess that's a bad example. Think of it like datetime.year vs datetime.replace
[ Parent
| on HN ]