complex numbers

Scott David Daniels Scott.Daniels at Acm.Org
Wed Jan 12 15:10:33 EST 2005


Robert Kern wrote:
>> Let's presume for a moment that complex is *not* a native data type in
>> Python.  How would we implement the above - cleanly?

The reason for making complex a builtin is _not_ to ease a single
program, but to create a convention allowing different modules
which operate on complex numbers to communicate.

-Scott David Daniels
Scott.Daniels at Acm.Org



More information about the Python-list mailing list