True coerces to 1
nheir opened this issue · 1 comments
nheir commented
In
sage-combinat-widgets/sage_combinat_widgets/grid_view_editor.py
Lines 725 to 726 in dcd47e4
prefer val is True
over val == True
(same with False
) because of integer coercion
like
sage-combinat-widgets/sage_combinat_widgets/grid_view_editor.py
Lines 677 to 678 in dcd47e4