aboutsummaryrefslogtreecommitdiffhomepage
path: root/bindings/python/notmuch/message.py
diff options
context:
space:
mode:
authorGravatar Sebastian Spaeth <Sebastian@SSpaeth.de>2011-08-09 17:48:27 +0200
committerGravatar Sebastian Spaeth <Sebastian@SSpaeth.de>2011-08-09 17:48:27 +0200
commitdc6b2b438236ed89c624e9c0bb035cc8321149cc (patch)
tree52b5dd301e36ba69fc44407d24d2d6574cab923f /bindings/python/notmuch/message.py
parent94c5edd064f856a888ce29f7ac1523006b4b8fd6 (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