aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Ionite <[email protected]>2023-03-15 04:40:01 -0400
committerGravatar GitHub <[email protected]>2023-03-15 04:40:01 -0400
commitfb01ba2d335dfd05af0a42d863eaea6ce2324ef6 (patch)
tree1c74a055853dccdd96081d70d57f310b9511c3f6
parentRemove unused timed function (diff)
Update snekbox/utils/timed.py
Co-authored-by: Mark <[email protected]>
-rw-r--r--snekbox/utils/timed.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/snekbox/utils/timed.py b/snekbox/utils/timed.py
index 756b2bc..11d126c 100644
--- a/snekbox/utils/timed.py
+++ b/snekbox/utils/timed.py
@@ -13,7 +13,7 @@ __all__ = ("time_limit",)
@contextmanager
def time_limit(timeout: int | None = None) -> Generator[None, None, None]:
"""
- Decorator to call a function with a time limit. Uses SIGALRM, requires a UNIX system.
+ Decorator to call a function with a time limit.
Args:
timeout: Timeout limit in seconds.