Skip to content

Commit

Permalink
Update examples in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
DRMacIver committed Mar 19, 2015
1 parent 84a8cc8 commit 7856f3d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -262,10 +262,10 @@ From most usage, strategy looks like a normal function:
>>> from hypothesis import strategy
>>> strategy(int)
RandomGeometricIntStrategy(int)
RandomGeometricIntStrategy()
>>> strategy((int, int, int))
TupleStrategy((int, int, int))
>>> strategy((int, int))
TupleStrategy((RandomGeometricIntStrategy(), RandomGeometricIntStrategy()), tuple)
If you try to call it on something with no implementation defined you will
get a NotImplementedError:
Expand Down

0 comments on commit 7856f3d

Please sign in to comment.