From a0d731679ad1495978f51af210ef48c24240e0a4 Mon Sep 17 00:00:00 2001 From: crazyiop Date: Sat, 5 Jan 2019 23:06:56 +0100 Subject: [PATCH] dict: add del operator --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 51c7faa..e791c94 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,7 @@ Dictionary ``` ```python +del [key] # Remove an existing key. value = .get(key, default) # Returns default if key does not exist. value = .setdefault(key, default) # Same, but also adds default to dict. = collections.defaultdict() # Creates a dictionary with default value of type.