Message352876
Current signature:
pow(x, y, z=None, /)
Proposed signature:
pow(base, exp, mod=None)
Benefits:
* Meaningful and self-explanatory parameters in tooltips
* Optionally clearer calls for the three argument form:
pow(2, 5, mod=4)
* More usable with partial():
squared = partial(pow, exp=2) |
|
Date |
User |
Action |
Args |
2019-09-20 17:21:42 | rhettinger | set | recipients:
+ rhettinger, mark.dickinson |
2019-09-20 17:21:42 | rhettinger | set | messageid: <1569000102.29.0.506926854512.issue38237@roundup.psfhosted.org> |
2019-09-20 17:21:42 | rhettinger | link | issue38237 messages |
2019-09-20 17:21:42 | rhettinger | create | |
|