Skip to content

Commit

Permalink
update docs: the "in" operator takes a path for dict only
Browse files Browse the repository at this point in the history
  • Loading branch information
wbolster committed Jul 2, 2017
1 parent 9879a9c commit e844ea3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ paths must always be passed as a list or tuple::
>>> d.get(['a', 'b', 'c'], "default value")

**Containment checks.      **
The ``in`` operator that checks whether a key or index exists,
The ``in`` operator that checks whether a dictionary key exists,
also works with paths::

>>> ['milestone', 'creator', 'login'] in issue
Expand Down

0 comments on commit e844ea3

Please sign in to comment.