mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 14:50:25 +01:00
recursion depth in __str__ fixed
This commit is contained in:
parent
ea51df3719
commit
62fe1f9e3a
1 changed files with 1 additions and 1 deletions
|
@ -484,7 +484,7 @@ class Obs:
|
|||
return '{:.0f}({:2.0f})'.format(self.value, self.dvalue)
|
||||
|
||||
def __str__(self):
|
||||
return 'Obs[' + str(self) + ']'
|
||||
return 'Obs[' + self.__repr__() + ']'
|
||||
|
||||
# Overload comparisons
|
||||
def __lt__(self, other):
|
||||
|
|
Loading…
Add table
Reference in a new issue