"a better input"
Michael Hudson
mwh at python.net
Thu May 9 06:08:39 EDT 2002
Alex Martelli <aleax at aleax.it> writes:
> > *I realize there are no true complex literals, we'd have to do a little
> > extra work here
>
> What extra work?
>
> >>> complex('23+45j')
> (23+45j)
Well, how does cooked_input or whatever tell that 23+45j is a complex
literal? The parser won't, at present...
Cheers,
M.
--
I never disputed the Perl hacking skill of the Slashdot creators.
My objections are to the editors' taste, the site's ugly visual
design, and the Slashdot community's raging stupidity.
-- http://www.cs.washington.edu/homes/klee/misc/slashdot.html#faq
More information about the Python-list
mailing list