docs: Fixed typo in Python execution docs
This commit is contained in:
@@ -4,9 +4,9 @@ from contextlib import redirect_stdout
|
|||||||
|
|
||||||
|
|
||||||
def run(code: str):
|
def run(code: str):
|
||||||
"""Execute the python code.
|
"""Execute the given Python code.
|
||||||
Args:
|
Args:
|
||||||
code: Python code to execute, such as `print("hello world")`
|
code: The Python code to execute, such as `print("hello world")`
|
||||||
"""
|
"""
|
||||||
output = io.StringIO()
|
output = io.StringIO()
|
||||||
with redirect_stdout(output):
|
with redirect_stdout(output):
|
||||||
|
|||||||
Reference in New Issue
Block a user