Update _erg_str.py

This commit is contained in:
Shunsuke Shibayama 2023-02-12 17:48:16 +09:00
parent 236fb56a54
commit ba19cb107d

View file

@ -37,6 +37,10 @@ class StrMut(): # Inherits Str
self.value = s
def __repr__(self):
return self.value.__repr__()
def __str__(self):
return self.value.__str__()
def __hash__(self):
return self.value.__hash__()
def __eq__(self, other):
if isinstance(other, Str):
return self.value == other