]> git.notmuchmail.org Git - notmuch/commit
python: Remove {Filenames,Threads}.__len__
authorJustus Winter <4winter@informatik.uni-hamburg.de>
Fri, 8 Jan 2016 11:27:20 +0000 (12:27 +0100)
committerJustus Winter <4winter@informatik.uni-hamburg.de>
Fri, 8 Jan 2016 12:58:33 +0000 (13:58 +0100)
commit096c600b96e5d556b67ac01263a1364d0b8e9115
tree10a03cbc0fa6e4447d550c2ab388e81e97230446
parente2ecf2b0ebd41257eb82dc1c1ff6d0d970209356
python: Remove {Filenames,Threads}.__len__

Remove the __len__ functions, as they exhaust the iterator, breaking
'list(x)'.

This is a follow-up to 8866a89e.

Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
bindings/python/docs/source/filesystem.rst
bindings/python/docs/source/threads.rst
bindings/python/notmuch/filenames.py
bindings/python/notmuch/threads.py