Code formating.

This commit is contained in:
Romain Dorgueil
2017-05-01 15:57:03 +02:00
parent ffa9ab6bc8
commit 8f38237658
6 changed files with 5 additions and 9 deletions

View File

@ -129,10 +129,10 @@ class ValueHolder:
return divmod(other, self.value)
def __pow__(self, other):
return self.value ** other
return self.value**other
def __rpow__(self, other):
return other ** self.value
return other**self.value
def __ipow__(self, other):
self.value **= other