Skip to content

Commit cdfce6b

Browse files
committed
Tweak README [skip ci]
1 parent 4e85030 commit cdfce6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The returned list is a subclass of `list` with some helper methods.
4646
**Example:**
4747

4848
```python
49-
from jsonpath_rfc9535 import find
49+
import jsonpath_rfc9535 as jsonpath
5050

5151
value = {
5252
"users": [
@@ -58,7 +58,7 @@ value = {
5858
"moderator": "John",
5959
}
6060

61-
for node in find("$.users[?@.score > 85]", value):
61+
for node in jsonpath.find("$.users[?@.score > 85]", value):
6262
print(f"{node.value} at '{node.path()}'")
6363

6464
# {'name': 'Sue', 'score': 100} at '$['users'][0]'

0 commit comments

Comments
 (0)