예제 #1
0
 def __bool__(self):
     return Decimal.__bool__(self) and not self.is_nan()
예제 #2
0
 def __bool__(self):
     return Decimal.__bool__(self) and not self.is_nan()