Skip to content

Commit

Permalink
type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheukting committed Jun 5, 2022
1 parent 860eaff commit d6a999a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hypothesis-python/src/hypothesis/extra/ghostwriter.py
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,7 @@ def magic(
if inspect.isclass(thing):
funcs = [thing]
else:
funcs = []
funcs: list = []
elif isinstance(thing, types.ModuleType):
if hasattr(thing, "__all__"):
funcs = [getattr(thing, name, None) for name in thing.__all__]
Expand Down

0 comments on commit d6a999a

Please sign in to comment.