This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author giampaolo.rodola
Recipients georg.brandl, giampaolo.rodola, loewis, terry.reedy
Date 2008-10-30.20:03:39
SpamBayes Score 0.0061246995
Marked as misclassified No
Message-id <1225397061.05.0.918741770183.issue4243@psf.upfronthosting.co.za>
In-reply-to
Content
English is not my first language but it seems obvious to me that the
suggestion is using:

>>> key in dict

...instead of:

>>> dict.has_key(key)


The only thing which may be confusing is the dictionary which is first
called "dict" and then "d", in which case the following modification
should be made:

- dict.has_key(key) is equivalent to key in d, but deprecated.
+ dict.has_key(key) is equivalent to key in dict, but deprecated.
History
Date User Action Args
2008-10-30 20:04:21giampaolo.rodolasetrecipients: + giampaolo.rodola, loewis, georg.brandl, terry.reedy
2008-10-30 20:04:21giampaolo.rodolasetmessageid: <1225397061.05.0.918741770183.issue4243@psf.upfronthosting.co.za>
2008-10-30 20:03:40giampaolo.rodolalinkissue4243 messages
2008-10-30 20:03:39giampaolo.rodolacreate