On Jan 31, 11:12 pm, Ralf Schoenian <r...@schoenian-online.de> wrote:
> yes, the following evaluates to False: A much better way of describing the effect would be to say that the following are treated as false (no capital letter!) in a conditional context. > empty String: '' > empty list: [] > empty tuple: () > empty dict: {} *any* empty container ... > 0, None > and False of course and objects which adhere to the protocol -- http://mail.python.org/mailman/listinfo/python-list