Common: Use the imperative in del_key() docstring

This commit is contained in:
Mike Salvatore 2022-07-07 11:29:08 -04:00
parent 08bb49af0f
commit d0fa9a7dcf
1 changed files with 1 additions and 1 deletions

View File

@ -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