[EMAIL PROTECTED] (Aahz) wrote: > Using ``in`` saves a bytecode of method lookup on ``has_key()`` (which is > the correct spelling).
You are right. My example is somewhat out of date w/r/t newer language features, and writing hasKey() instead of has_key() was just plain a mistake. Thanks for the corrections. -- http://mail.python.org/mailman/listinfo/python-list