feat: rename may_execute_* to execute_* (#56)

This commit is contained in:
sigoden
2024-07-03 16:18:32 +08:00
committed by GitHub
parent 970ed06d2b
commit 499b7cdef5
5 changed files with 6 additions and 14 deletions
+6
View File
@@ -0,0 +1,6 @@
def run(code: str):
"""Runs the python code.
Args:
code: Python code to execute, such as `print("hello world")`
"""
exec(code)