[Python-Dev] Why is nb_inplace_power ternary?

"Martin v. Löwis" martin at v.loewis.de
Sat Feb 10 13:28:05 CET 2007


Greg Ewing schrieb:
>> What could the syntax for that be?
> 
> It wouldn't be a syntax, just a function, e.g.
> 
>    ipow(x, n, 10)

In what way would that be inplace? A function cannot
rebind the variables it gets as parameters.

Regards,
Martin


More information about the Python-Dev mailing list