diff options
| author | Sebastian Spaeth <Sebastian@SSpaeth.de> | 2011-06-15 15:05:47 +0200 |
|---|---|---|
| committer | Sebastian Spaeth <Sebastian@SSpaeth.de> | 2011-06-15 15:05:47 +0200 |
| commit | 4557af30649e7fdf11b8194e405cb272f13887da (patch) | |
| tree | d396173431e52bd2e875dccac84b74e028956292 /bindings/python/docs/Makefile | |
| parent | 8866a89e3cff46dbd791a1385ca5c800a5c9091e (diff) | |
python: Implement Message.__cmp__ and __hash__
We can now do: if msg1 == msg2, and we can use set arithmetic on
Messages():
s1, s2= msgs1, msgs2
s1.union(s2)
s2 -= s1
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Diffstat (limited to 'bindings/python/docs/Makefile')
0 files changed, 0 insertions, 0 deletions
