Skip to content

Commit 1a9e838

Browse files
committed
Dictionary
1 parent 3a68e55 commit 1a9e838

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ value = <dict>.setdefault(key, default) # Same, but also adds default to di
7272
<dict> = dict(<list>) # Initiates a dict from list of key-value pairs.
7373
<dict> = dict(zip(keys, values)) # Initiates a dict from two lists.
7474
<dict> = dict.fromkeys(keys [, value]) # Initiates a dict from list of keys.
75-
del <dict>[key] # Removes item from dictionary.
7675
{k: v for k, v in <dict>.items() if k in keys} # Filters dictionary by keys.
76+
del <dict>[key] # Removes item from dictionary.
7777
```
7878

7979
### Counter

0 commit comments

Comments
 (0)