From 485b3f836028f887a2c1f0937b82951139df97fe Mon Sep 17 00:00:00 2001 From: Amy Brennan-Luna Date: Fri, 28 Jun 2024 17:33:53 -0500 Subject: [PATCH] Update python.py Added break / continue for statements (similar to other languages) --- lang/python/python.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lang/python/python.py b/lang/python/python.py index ae58f7810e..ead965deb6 100644 --- a/lang/python/python.py +++ b/lang/python/python.py @@ -346,3 +346,9 @@ def code_insert_type_annotation(type: str): def code_insert_return_type(type: str): actions.insert(f" -> {type}") + + def code_break(): + actions.insert("break") + + def code_next(): + actions.insert("continue")