trouble with complex numbers

Steven D'Aprano steve at REMOVE-THIS-cybersource.com.au
Thu Aug 6 01:04:55 CEST 2009


On Wed, 05 Aug 2009 15:27:51 -0500, Robert Kern wrote:

> On 2009-08-05 15:16, Dr. Phillip M. Feldman wrote:
>> I am using Python 2.5, and most of the cmath functions are not yet
>> available in this version.  Thanks!
>>
>> Phillip
>>
>> P.S. In your code, that should be x+= 0J
>>
>> P.P.S. I wish that the documentation indicated anything that is new.
> 
> It does.
> 
> http://docs.python.org/library/cmath#cmath.phase
> 
> "New in version 2.6."


Furthermore, every release comes with a What's New document:

http://docs.python.org/whatsnew/index.html




-- 
Steven



More information about the Python-list mailing list