modernize icon indicating copy to clipboard operation
modernize copied to clipboard

Add fix_nonzero fixer to rename and alias `__nonzero__` to `__bool__`.

Open jamesdbowman opened this issue 5 years ago • 2 comments

jamesdbowman avatar May 28 '20 08:05 jamesdbowman

@graingert saw you were recently added as a maintainer to this project, any thoughts on this PR? Thanks in advance.

jamesdbowman avatar Aug 17 '20 20:08 jamesdbowman

Imho this would need support in six with a @six.python_2_bool_compatible decorator. Otherwise it should be added to fissix without the backwards compatible use of six

graingert avatar Aug 17 '20 21:08 graingert