Josh Rosenberg added the comment: Eric, remove the space from after the has_key call to match OP:
$ cat test.py a.has_key(b)and x It's legal to omit the space there. ---------- nosy: +josh.r _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue27855> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com