(self)
| 34 | """ |
| 35 | |
| 36 | def remove_rules_31(self): |
| 37 | self.remove_rules( |
| 38 | """ |
| 39 | # DUP_TOP_TWO is DUP_TOPX in 3.1 and earlier |
| 40 | subscript2 ::= expr expr DUP_TOP_TWO BINARY_SUBSCR |
| 41 | |
| 42 | # The were found using grammar coverage |
| 43 | list_if ::= expr jmp_false list_iter COME_FROM |
| 44 | list_if_not ::= expr jmp_true list_iter COME_FROM |
| 45 | """ |
| 46 | ) |
| 47 | |
| 48 | def customize_grammar_rules(self, tokens, customize): |
| 49 | super(Python31Parser, self).customize_grammar_rules(tokens, customize) |
no outgoing calls
no test coverage detected