[Python-Dev] conditional expressions?

Paul Moore gustav at morpheus.demon.co.uk
Wed Oct 17 00:00:51 CEST 2001

On Tue, 16 Oct 2001 11:27:42 +0200, "Anders J. Munch" <andersjm at dancontrol.dk>

>Quick, what does this snippet do if return_as_map is true?
> return if return_as_map then {'A':a,'B':b} else a,b

Get you complained at in the code review :-)


More information about the Python-list mailing list