diff options
author | 2021-05-18 20:16:55 -0400 | |
---|---|---|
committer | 2021-05-18 20:16:55 -0400 | |
commit | 16c00aedf82ab771968e74023cb576165ced2c0a (patch) | |
tree | 4303702b871272f6df1a44492fd7b5bd42b789ea | |
parent | chore: Add tests for py_args and ns_jail args (diff) |
chore: Fix some typos
-rw-r--r-- | snekbox/api/resources/eval.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/snekbox/api/resources/eval.py b/snekbox/api/resources/eval.py index 722a918..dd6f8eb 100644 --- a/snekbox/api/resources/eval.py +++ b/snekbox/api/resources/eval.py @@ -44,7 +44,7 @@ class EvalResource: """ Evaluate Python code and return stdout, stderr, and the return code. - The optional `args` parameter can be passed, and it woul replace the "-c" option. + The optional `args` parameter can be passed, and it would replace the "-c" option. The return codes mostly resemble those of a Unix shell. Some noteworthy cases: @@ -65,7 +65,7 @@ class EvalResource: Response format: >>> { - ... "10000 loops, best of 5: 23.8 usec per loop\n", + ... "stdout": "10000 loops, best of 5: 23.8 usec per loop\n", ... "returncode": 0 ... } |