Skip to content

Commit

Permalink
Correct alphabet hint for text()
Browse files Browse the repository at this point in the history
Note: need more validation to enforce this
  • Loading branch information
Zac-HD committed Jun 14, 2018
1 parent 24e1876 commit 15a69df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hypothesis-python/src/hypothesis/strategies.py
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,7 @@ def characters(
@cacheable
@defines_strategy_with_reusable_values
def text(
alphabet=None, # type: Union[Text, SearchStrategy[Text]]
alphabet=None, # type: Union[Sequence[Text], SearchStrategy[Text]]
min_size=None, # type: int
average_size=None, # type: int
max_size=None # type: int
Expand Down

0 comments on commit 15a69df

Please sign in to comment.