Skip to content

Commit

Permalink
Use typing.AbstractSet rather than typing.Set
Browse files Browse the repository at this point in the history
  • Loading branch information
lafrech committed Jul 2, 2023
1 parent 634f36a commit 05b2e18
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/marshmallow/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
"""
import typing

StrSequenceOrSet = typing.Union[
typing.Sequence[str], typing.Set[str], typing.MutableSet[str]
]
StrSequenceOrSet = typing.Union[typing.Sequence[str], typing.AbstractSet[str]]
Tag = typing.Union[str, typing.Tuple[str, bool]]
Validator = typing.Callable[[typing.Any], typing.Any]

0 comments on commit 05b2e18

Please sign in to comment.