Message338502
Like Josh I don't quite understand the problem description. This
for example works:
>>> class C(int):
... def __ipow__(self, other, mod=None):
... return pow(self, other, mod)
...
>>>
>>> x = C(10)
>>> x
10
>>> x **= 3
>>> x
1000 |
|
Date |
User |
Action |
Args |
2019-03-20 17:36:02 | skrah | set | recipients:
+ skrah, josh.r, Zuzu_Typ |
2019-03-20 17:36:02 | skrah | set | messageid: <1553103362.91.0.0273071954173.issue36379@roundup.psfhosted.org> |
2019-03-20 17:36:02 | skrah | link | issue36379 messages |
2019-03-20 17:36:02 | skrah | create | |
|