[issue27855] 2to3: Wrong code output w/ has_key

Eric N. Vander Weele report at bugs.python.org
Thu Aug 25 01:26:05 EDT 2016


Eric N. Vander Weele 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

Good catch.  Disregard msg273622 from me - I am able to replicate what the OP has described.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue27855>
_______________________________________


More information about the Python-bugs-list mailing list