From bfb81f191a62a96d0333c02ecd477835f846bfac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Wed, 27 Nov 2024 16:10:47 +0100 Subject: [PATCH] Dictionary --- README.md | 4 ++-- index.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ddb7db0..e3e7817 100644 --- a/README.md +++ b/README.md @@ -82,8 +82,8 @@ Dictionary ``` ```python - = .keys() # Coll. of keys that reflects changes. - = .values() # Coll. of values that reflects changes. + = .keys() # Collection of keys that reflects changes. + = .values() # Collection of values that reflects changes. = .items() # Coll. of key-value tuples that reflects chgs. ``` diff --git a/index.html b/index.html index 40a9906..fd02940 100644 --- a/index.html +++ b/index.html @@ -138,8 +138,8 @@ flatter_list = list(itertools.chain.from_iterable(<list>))

#Dictionary

<dict> = {key_1: val_1, key_2: val_2, ...}      # Use `<dict>[key]` to get or set the value.
 
-
<view> = <dict>.keys()                          # Coll. of keys that reflects changes.
-<view> = <dict>.values()                        # Coll. of values that reflects changes.
+
<view> = <dict>.keys()                          # Collection of keys that reflects changes.
+<view> = <dict>.values()                        # Collection of values that reflects changes.
 <view> = <dict>.items()                         # Coll. of key-value tuples that reflects chgs.
 
value  = <dict>.get(key, default=None)          # Returns default if key is missing.