Skip to content

Commit

Permalink
Fixed missing definition of item
Browse files Browse the repository at this point in the history
  • Loading branch information
movermeyer committed May 25, 2017
1 parent ed3921a commit 10a1174
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ Let's say you have a huge nested object and want to see if any item with the wor
```py
from deepdiff import DeepSearch
obj = {"long": "somewhere", "string": 2, 0: 0, "somewhere": "around"}
ds = DeepSearch(obj, item, verbose_level=2)
ds = DeepSearch(obj, "somewhere", verbose_level=2)
print(ds)
```

Expand All @@ -188,7 +188,7 @@ Just grep through your objects as you would in shell!
```py
from deepdiff import grep
obj = {"long": "somewhere", "string": 2, 0: 0, "somewhere": "around"}
ds = obj | grep(item)
ds = obj | grep("somewhere")
print(ds)
```

Expand Down

0 comments on commit 10a1174

Please sign in to comment.