diff options
Diffstat (limited to 'Lib/lib2to3/fixes/fix_has_key.py')
-rw-r--r-- | Lib/lib2to3/fixes/fix_has_key.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/lib2to3/fixes/fix_has_key.py b/Lib/lib2to3/fixes/fix_has_key.py index ea7bfc5..77684fb 100644 --- a/Lib/lib2to3/fixes/fix_has_key.py +++ b/Lib/lib2to3/fixes/fix_has_key.py @@ -18,14 +18,14 @@ CAVEATS: m = d.has_key if m(k): ... - + Only *calls* to has_key() are converted. While it is possible to convert the above to something like - + m = d.__contains__ if m(k): ... - + this is currently not done. """ |