aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Ionite <[email protected]>2022-11-28 08:30:05 +0800
committerGravatar GitHub <[email protected]>2022-11-28 08:30:05 +0800
commit0a2239e7bfa305aae4f21aee2c76760d79d01b23 (patch)
tree0be8eb306abf8b48c22b745784e2e009eee2d848
parentDocstring fixes (diff)
Docstring update
Co-authored-by: Mark <[email protected]>
-rw-r--r--snekbox/nsjail.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/snekbox/nsjail.py b/snekbox/nsjail.py
index 234aca8..4a0f45c 100644
--- a/snekbox/nsjail.py
+++ b/snekbox/nsjail.py
@@ -174,9 +174,9 @@ class NsJail:
Execute Python 3 code in an isolated environment and return the completed process.
Args:
- py_args: Arguments passed to python3.
- files: FileAttachments to be written to the sandbox prior to run.
- nsjail_args: Overrides options in the NsJail config, added to NsJail call.
+ py_args: Arguments to pass to Python.
+ files: FileAttachments to write to the sandbox prior to running Python.
+ nsjail_args: Overrides for the NsJail configuration.
"""
if self.cgroup_version == 2:
nsjail_args = ("--use_cgroupv2", *nsjail_args)