Skip to content

Commit e74855a

Browse files
authored
Merge pull request #4620 from NyuB/patch-1
Fix a documentation typo
2 parents 7288aa8 + 9d36d0f commit e74855a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

hypothesis-python/docs/tutorial/custom-strategies.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Let's see this new strategy in action:
5858
5959
.. note::
6060

61-
Just like all other strategies, we called ``sums_to_one`` before passing it to |@given|. |st.composite| should be thought of as turning its decorated function into a function which returns a stratgy when called. This is actually the same as existing strategies in Hypothesis; |st.integers| is really a function, which returns a strategy for integers when called.
61+
Just like all other strategies, we called ``sums_to_one`` before passing it to |@given|. |st.composite| should be thought of as turning its decorated function into a function which returns a strategy when called. This is actually the same as existing strategies in Hypothesis; |st.integers| is really a function, which returns a strategy for integers when called.
6262

6363
Combining |st.composite| with parameters
6464
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

tooling/codespell-dict.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
sipport->support
2+
stratgy->strategy

0 commit comments

Comments
 (0)