Puzzled by list-appending behavior

Ethan Furman ethan at stoneleaf.us
Fri May 27 14:56:04 EDT 2011


Prasad, Ramit wrote:
>> I have to say, I do like Python's lack of keywords for these things
> 
> I thought True/False were among the list of keywords in Python 3.x ? Or are those the only keywords?

http://docs.python.org/py3k/reference/lexical_analysis.html#keywords

False      class      finally    is         return
None       continue   for        lambda     try
True       def        from       nonlocal   while
and        del        global     not        with
as         elif       if         or         yield
assert     else       import     pass
break      except     in         raise

~Ethan~



More information about the Python-list mailing list