Daniel Schüle wrote:
>> <shrug> Okay. Write a patch. Personally, I would prefer that it be a 
>> function in cmath rather than a method because then it could be made 
>> to work on integers and regular floats, too.
> 
> Ok, but what semantic should angle/arg have, say for 3 respectively
> for 3.0?
> the same as for arg(3+0j)?

As a potential user, that's what I would expect.

See Dan Bishop's implementation (earlier in this thread).
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to