Common: Reformat docstring for del_key()

This commit is contained in:
Mike Salvatore 2022-07-07 11:30:05 -04:00
parent d0fa9a7dcf
commit 5211045194
1 changed files with 3 additions and 1 deletions

View File

@ -36,7 +36,9 @@ def queue_to_list(q: queue.Queue) -> List[Any]:
def del_key(mapping: MutableMapping[T, Any], key: T):
"""
Delete a key from mapping. Unlike the `del` keyword, this function does not raise a KeyError
Delete a key from a 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