diff --git a/monkey/common/utils/code_utils.py b/monkey/common/utils/code_utils.py index a0fe6b5a9..a7625e0c6 100644 --- a/monkey/common/utils/code_utils.py +++ b/monkey/common/utils/code_utils.py @@ -36,7 +36,7 @@ def queue_to_list(q: queue.Queue) -> List[Any]: def del_key(mapping: MutableMapping[T, Any], key: T): """ - Deletes key from mapping. Unlike the `del` keyword, this function does not raise a KeyError + Delete a key from mapping. Unlike the `del` keyword, this function does not raise a KeyError if the key does not exist. :param mapping: A mapping from which a key will be deleted