Commit 3efbd72
committed
py/parse: Remove explicit checks for invalid folding operations.
They are instead checked by `binary_op_maybe()`, which catches exceptions
for invalid int/float operations.
This is a follow-up to 69ead7d
Signed-off-by: Damien George <damien@micropython.org>1 parent 141f7d0 commit 3efbd72
1 file changed
Lines changed: 0 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
771 | 771 | | |
772 | 772 | | |
773 | 773 | | |
774 | | - | |
775 | | - | |
776 | | - | |
777 | | - | |
778 | | - | |
779 | | - | |
780 | 774 | | |
781 | 775 | | |
782 | 776 | | |
| |||
796 | 790 | | |
797 | 791 | | |
798 | 792 | | |
799 | | - | |
800 | | - | |
801 | | - | |
802 | | - | |
803 | | - | |
804 | | - | |
805 | | - | |
806 | | - | |
807 | | - | |
808 | | - | |
809 | 793 | | |
810 | 794 | | |
811 | 795 | | |
| |||
0 commit comments