Sometimes I wish !Python had an "x is in seq" operator, when "x in seq" is unsuitable because you want 'is' rather than '==' testing.
Until then ``any(x is z for z in seq)`` has to suffice I guess.
Identi.ca is a microblogging service brought to you by E14N. It runs the StatusNet microblogging software, version 1.1.0-release, available under the GNU Affero General Public License.
All Identi.ca content and data are available under the Creative Commons Attribution 3.0 license.
Switch to mobile site layout.