From 06cf05c12f79b8800e7305823e42f8441a4764f7 Mon Sep 17 00:00:00 2001 From: Fabio Caccamo Date: Wed, 23 Sep 2020 11:10:08 +0200 Subject: [PATCH] Updated README. --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 871635c..5b164f0 100644 --- a/README.md +++ b/README.md @@ -323,7 +323,6 @@ items = d.items_sorted_by_values(reverse=False) # Return a list of all keypaths in the dict. # If indexes is True, the output will include list values indexes. k = d.keypaths(indexes=False) -print(k) ``` - #### match @@ -332,7 +331,7 @@ print(k) # Return a list of all values whose keypath matches the given pattern (a regex or string). # If pattern is string, wildcard can be used (eg. [*] can be used to match all list indexes). # If indexes is True, the pattern will be matched also against list values. -d.match(pattern, indexes=True) +m = d.match(pattern, indexes=True) ``` - #### merge