Python Worst Practices

Gregory Ewing greg.ewing at canterbury.ac.nz
Sat Feb 28 19:29:46 EST 2015


Chris Angelico wrote:
> Likewise REXX has no reserved words; also, SQL went part-way there,
> with the notion of "non-reserved keywords".

Python sometimes has those, too. For example, the "as" in
"import as" was non-reserved when it was first introduced,
to avoid abruptly breaking code that used it as a name.

-- 
Greg



More information about the Python-list mailing list