How can I extend a builtin class in python? I would like to add a method to the str class.
I’ve done some searching but all I’m finding is older posts, I’m hoping someone knows of something newer.
How can I extend a builtin class in python? I would like to add
Share
Just subclass the type