Get rid of dict.has_key(). Boy this has a lot of repercussions!
Not all code has been fixed yet; this is just a checkpoint...
The C API still has PyDict_HasKey() and _HasKeyString(); not sure
if I want to change those just yet.
diff --git a/Include/abstract.h b/Include/abstract.h
index 1e69614..eed23c1 100644
--- a/Include/abstract.h
+++ b/Include/abstract.h
@@ -1115,7 +1115,7 @@
/*
On success, return 1 if the mapping object has the key, key,
and 0 otherwise. This is equivalent to the Python expression:
- o.has_key(key).
+ key in o.
This function always succeeds.
*/
@@ -1125,7 +1125,7 @@
/*
Return 1 if the mapping object has the key, key,
and 0 otherwise. This is equivalent to the Python expression:
- o.has_key(key).
+ key in o.
This function always succeeds.