diff options
author | Sebastian Spaeth <Sebastian@SSpaeth.de> | 2011-08-09 17:48:27 +0200 |
---|---|---|
committer | Sebastian Spaeth <Sebastian@SSpaeth.de> | 2011-08-09 17:48:27 +0200 |
commit | dc6b2b438236ed89c624e9c0bb035cc8321149cc (patch) | |
tree | 52b5dd301e36ba69fc44407d24d2d6574cab923f /bindings/python/notmuch/message.py | |
parent | 94c5edd064f856a888ce29f7ac1523006b4b8fd6 (diff) |
python: remove Tags().__len__() implementation
len() exhausts the tag iterator and e.g. list() or "".join(tags)
implicitly call len() if existing and then failing. So, we remove
Tags.__len__().
If you need to know the number of tags a message has, do use
len(list(tags)). It would be nicer to be able to support len() directly...
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Diffstat (limited to 'bindings/python/notmuch/message.py')
0 files changed, 0 insertions, 0 deletions