Changes between Initial Version and Version 1 of Ticket #21840, comment 2


Ignore:
Timestamp:
01/21/2014 09:00:27 AM (20 months ago)
Author:
gabejackson
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21840, comment 2

    initial v1  
    11Just to comment why this worked before:
    22
    3 "If a class defines neither __len__() nor __nonzero__(), all its instances are considered true."
     3"If a class defines neither `__len__()` nor `__nonzero__()`, all its instances are considered true."
    44
    55that is from http://docs.python.org/2/reference/datamodel.html#object.__nonzero__
Back to Top