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


Ignore:
Timestamp:
Jan 21, 2014, 9:00:27 AM (11 years ago)
Author:
Gabe Jackson

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