Skip to content

Commit 52efa9d

Browse files
committed
Fix typo in example code
1 parent 5776050 commit 52efa9d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,15 +88,14 @@ of your dict keys. To do this you can use either of these options:
8888
.. code:: python
8989
9090
>>> import jmespath
91-
>>> jmespath.search('{a: a, b: b},
91+
>>> jmespath.search('{a: a, b: b}',
9292
... mydata,
9393
... jmespath.Options(dict_cls=collections.OrderedDict))
9494
9595
9696
>>> import jmespath
9797
>>> parsed = jmespath.compile('{a: a, b: b}')
98-
>>> parsed.search('{a: a, b: b},
99-
... mydata,
98+
>>> parsed.search(mydata,
10099
... jmespath.Options(dict_cls=collections.OrderedDict))
101100
102101

0 commit comments

Comments
 (0)