Running python-modernize -w [myfile] changed this:
if sys.version_info[0] == 2:
from itertools import ifilterfalse as filterfalse
else:
from itertools import filterfalse
to this:
from six.moves import filterfalse
if sys.version_info[0] == 2:
else:
from itertools import filterfalse
Which is a SyntaxError. There should at least be a pass here.
Version:
modernize (0.6.1)
Running
python-modernize -w [myfile]changed this:to this:
Which is a SyntaxError. There should at least be a
passhere.Version:
modernize (0.6.1)