Open schloerke opened 6 months ago
Currently, it is not obvious when asking if an object is a string. I have to ask if not isinstance(x, HTML) and isinstance(x, str).
if not isinstance(x, HTML) and isinstance(x, str)
I'd happy to add a __str__ method and a tagify() method, but I'd like to remove the parent class of str
__str__
tagify()
str
Currently, it is not obvious when asking if an object is a string. I have to ask
if not isinstance(x, HTML) and isinstance(x, str)
.I'd happy to add a
__str__
method and atagify()
method, but I'd like to remove the parent class ofstr