Added Sequence.__contains__ so that we test nodes by identity rather than by value.
authorFrederic Jolliton <frederic@jolliton.com>
Tue, 13 Sep 2005 07:06:02 +0000 (07:06 +0000)
committerFrederic Jolliton <frederic@jolliton.com>
Tue, 13 Sep 2005 07:06:02 +0000 (07:06 +0000)
commitbaba0add0ddfc3141ef1035d16e12df023ce8829
treecb5b58e7634ce03b4029b95a37f30f7fa6f1705a
parent87f5ee691df6d34f74a2efe1f23bf1cdda7388b5
Added Sequence.__contains__ so that we test nodes by identity rather than by value.

 * Added Sequence.__contains__ such that 'node in someSequence' return
   True if node is part of someSequence, while previously True was
   returned if a node had the same *value* (different node with same
   dmStringValue.)
git-archimport-id: frederic@jolliton.com--2005-main/tx--main--0.1--patch-41
sequence.py