Newbie Q: modifying SQL statements

Faber J. Fedor faber at linuxnj.com
Fri Jan 11 22:36:05 EST 2008


On 12/01/08 00:23 +0100, Hrvoje Niksic wrote:
> "Faber J. Fedor" <faber at linuxnj.com> writes:
> > Does this '("" if not where...' syntax actually work?
> 
> http://docs.python.org/whatsnew/pep-308.html

C'mon!  I'm in Day Two of learning Python.  You can't expect me to be
reading "What's New" docs already! :-)

I did find it interesting that the page mentioned said "Guido van Rossum
eventually chose a surprising syntax:".  When I first saw the construct
I thought "Oh, they borrowed that from Perl". :-) (Although you can't do the
else part in Perl, it is a natural extension, IMO.)


-- 
 
Regards,
 
Faber Fedor

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the Python-list mailing list