Mercurial > p > roundup > code
diff doc/mysql.txt @ 5011:d5da643b3d25
Remove key_in() from roundup.anypy.dbm_
The key_in() function was just a shim to use the best available option
out of 'd.has_key(key)' and 'key in d'. The 'd.has_key(key)' flavour has
been deprecated in favour of 'key in d' which based on testing has been
available since at least python v2.5 which is the oldest being
supported.
| author | John Kristensen <john@jerrykan.com> |
|---|---|
| date | Fri, 13 Feb 2015 00:20:43 +1100 |
| parents | 33a1f03b9de0 |
| children | 98fdc1f98194 |
