Conditional operator in Python?
Steven D. Majewski
sdm7g at Virginia.EDU
Wed Apr 4 15:20:13 EDT 2001
On Wed, 4 Apr 2001, Tim Peters wrote:
>
> That's not confusing. This is <wink>:
>
> >>> Number(1,064)
> 1052L
> >>>
>
> hard-to-believe-that-semantically-significant-leading-zeroes-
> ever-seemed-like-"a-good-idea"-to-anyone-ly y'rs - tim
>
GROAN!
Well -- it worked for all my test cases!
( Doesn't that sound familiar! )
I'm sure glad I was just giving free advice and not trying to
do something with it myself! ;-)
-- Steve.
More information about the Python-list
mailing list