Browse Source

Dict

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

2
README.md

@ -48,7 +48,7 @@ Dictionary
<view> = <dict>.keys() <view> = <dict>.keys()
<view> = <dict>.values() <view> = <dict>.values()
<view> = <dict>.items() <view> = <dict>.items()
<value> = <dict>.get(key, default) # Returns default if key doesn't exist.
<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 item to dict.
<dict>.update(<dict>) <dict>.update(<dict>)
``` ```

Loading…
Cancel
Save