PEP 308: ternary operator

Terry Hancock hancock at anansispaceworks.com
Sat Feb 22 02:51:50 EST 2003


Oops. Couple of significant typos, fixing the worst one:

"conditional"  was supposed to be "colon":
Terry Hancock wrote:
> Consider for example, that the position of the colon in a standard
> Python if-else structure is right after the condition:
> 
> if <question>:
>     pass
> else:
>     pass


-- 
Anansi Spaceworks
http://www.anansispaceworks.com




More information about the Python-list mailing list