mirror of
https://github.com/syssec-utd/pylingual.git
synced 2026-05-10 18:39:03 -07:00
Extending JumpTemplate to 3.12
This commit is contained in:
@@ -54,7 +54,7 @@ class RemoveUnreachable(ControlFlowTemplate):
|
||||
return node
|
||||
|
||||
|
||||
@register_template(0, 0, (3, 13))
|
||||
@register_template(0, 0, (3, 12), (3, 13))
|
||||
class JumpTemplate(ControlFlowTemplate):
|
||||
template = T(
|
||||
body=~N("jump", None).with_cond(without_instructions("CLEANUP_THROW")),
|
||||
|
||||
Reference in New Issue
Block a user