Closed Dudly01 closed 6 years ago
Hi, my question is whether I can inherit my class from list, like: class MutableString(list): or do i have to stick with class MutableString(object): Thanks in advance!
In hindsight, not really relevant question
It's not a list, so you shouldn't inherit from list.
https://stackoverflow.com/questions/9432719/python-how-can-i-inherit-from-the-built-in-list-type
Hi, my question is whether I can inherit my class from list, like: class MutableString(list): or do i have to stick with class MutableString(object): Thanks in advance!
In hindsight, not really relevant question