trouble with complex numbers

Robert Kern robert.kern at
Wed Aug 5 22:27:51 CEST 2009

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.

"New in version 2.6."

Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco

More information about the Python-list mailing list