Removed unnecessary branch in __mod__() from proxy class in lazy().
Unnecessary since c716fe87821df00f9f03ecc761c914d1682591a2 and 7b2f2e74adb36a4334e83130f6abc2f79d395235.
This commit is contained in:
parent
f5817c24f4
commit
c7ba2e3cbb
@ -165,8 +165,6 @@ def lazy(func, *resultclasses):
|
|||||||
return hash(self.__cast())
|
return hash(self.__cast())
|
||||||
|
|
||||||
def __mod__(self, rhs):
|
def __mod__(self, rhs):
|
||||||
if self._delegate_text:
|
|
||||||
return str(self) % rhs
|
|
||||||
return self.__cast() % rhs
|
return self.__cast() % rhs
|
||||||
|
|
||||||
def __add__(self, other):
|
def __add__(self, other):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user