[Python-Dev] Trinary Operators

David LeBlanc whisper@oz.net
Thu, 6 Feb 2003 16:59:36 -0800


Hey, we could even toss in postfix operators!

if a = b:
	print c unless date.day_of_week() == "tuesday"

BTW, "trinary" is a word - just not the right one in this context.

David LeBlanc
Seattle, WA USA