notmuch/bindings
Justus Winter 7f74a400d1 python: cleanup the __nonzero__ implementations
Cleanup the code, reword the docstring and use the same implementation
in the Threads, Tags and Messages classes.

__nonzero__ implements truth value testing. If __nonzero__ is not
implemented, the python runtime would fall back to `len(..) > 0` thus
exhausting the iterator.

Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-04-30 19:25:16 +02:00
..
go go: Use notmuch_database_destroy instead of notmuch_database_close 2012-04-28 09:29:38 -03:00
python python: cleanup the __nonzero__ implementations 2012-04-30 19:25:16 +02:00
ruby ruby: Use notmuch_database_destroy instead of notmuch_database_close 2012-04-28 09:30:02 -03:00