Yet Another PEP308 syntax

Gerrit Holl gerrit at nl.linux.org
Mon Feb 10 10:59:04 EST 2003


Hi,

although I am against a ternary operator, here is Yet Another PEP308
syntax:

a = ?(test, true_case, false_case)
or
a = test?(true_case, false_case)

yours,
Gerrit.

-- 
Asperger Syndroom - een persoonlijke benadering:
	http://people.nl.linux.org/~gerrit/
Het zijn tijden om je zelf met politiek te bemoeien:
	http://www.sp.nl/





More information about the Python-list mailing list