Browse Source

Dict

pull/3/head
Jure Šorn 5 years ago
parent
commit
10b8627898
1 changed files with 1 additions and 1 deletions
  1. 2
      README.md

2
README.md

@ -53,7 +53,7 @@ Dictionary
<view> = <dict>.values()
<view> = <dict>.items()
<value> = <dict>.get(key, default) # Returns default if key does not exist.
<value> = <dict>.setdefault(key, default) # Same, but also adds item to dict.
<value> = <dict>.setdefault(key, default) # Same, but also adds default to dict.
<dict>.update(<dict>)
```

Loading…
Cancel
Save