diff --git a/README.md b/README.md index 936e67c..ba3f586 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ index = .index() # Returns index of first occurrence or raises Val .insert(index, ) # Inserts item at index and moves the rest to the right. = .pop([index]) # Removes and returns item at index or from the end. .remove() # Removes first occurrence of item or raises ValueError. -.clear() # Removes all items. Also works on dict and set. +.clear() # Removes all items. Also works on dictionary and set. ``` diff --git a/index.html b/index.html index 9044f79..85e9a9a 100644 --- a/index.html +++ b/index.html @@ -253,7 +253,7 @@ list_of_chars = list(<str>) <list>.insert(index, <el>) # Inserts item at index and moves the rest to the right. <el> = <list>.pop([index]) # Removes and returns item at index or from the end. <list>.remove(<el>) # Removes first occurrence of item or raises ValueError. -<list>.clear() # Removes all items. Also works on dict and set. +<list>.clear() # Removes all items. Also works on dictionary and set.

#Dictionary

<view> = <dict>.keys()                          # Coll. of keys that reflects changes.
 <view> = <dict>.values()                        # Coll. of values that reflects changes.