Message75374
2.6 lib ref builtin types, mappings, has_key doc now says
"dict.has_key(key) is equivalent to key in d, but deprecated."
Posters on c.l.p found this confusing. Which is deprecated?
I agree that this could be confusing to a beginner.
D'Arcy J.M. Cain suggests
"dict.has_key(key) is deprecated. Use "key in dict" instead."
Or "Use the replacement ..."
Or "Use the new version ..." |
|
Date |
User |
Action |
Args |
2008-10-30 17:48:25 | terry.reedy | set | recipients:
+ terry.reedy, georg.brandl |
2008-10-30 17:48:25 | terry.reedy | set | messageid: <1225388905.15.0.305323271668.issue4243@psf.upfronthosting.co.za> |
2008-10-30 17:48:24 | terry.reedy | link | issue4243 messages |
2008-10-30 17:48:23 | terry.reedy | create | |
|