forked from p15670423/monkey
Common: Reformat docstring for del_key()
This commit is contained in:
parent
d0fa9a7dcf
commit
5211045194
|
@ -36,7 +36,9 @@ def queue_to_list(q: queue.Queue) -> List[Any]:
|
||||||
|
|
||||||
def del_key(mapping: MutableMapping[T, Any], key: T):
|
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.
|
if the key does not exist.
|
||||||
|
|
||||||
:param mapping: A mapping from which a key will be deleted
|
:param mapping: A mapping from which a key will be deleted
|
||||||
|
|
Loading…
Reference in New Issue