Skip to content

Commit

Permalink
Fix examples so they are correct
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaswiman committed Feb 6, 2016
1 parent bf37975 commit bec4ca7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Expand Up @@ -65,9 +65,9 @@ and ``P.exclude(iterable)``:
other_model_instance = MyModel(some_field="hello there", age=10)
p.filter([model_instance, other_model_instance]) == [model_instance]
>>> True
p.filter([model_instance, other_model_instance]) == model_instance
p.get([model_instance, other_model_instance]) == model_instance
>>> True
p.filter([model_instance, other_model_instance]) == other_model_instance
p.exclude([model_instance, other_model_instance]) == [other_model_instance]
>>> True
Expand Down

0 comments on commit bec4ca7

Please sign in to comment.