mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
Add is_series type guard, with tests
This commit is contained in:
@@ -6,4 +6,4 @@ import typing as _t
|
||||
_S = _t.TypeVar("_S")
|
||||
|
||||
Series = _t.Union[_t.MutableSequence[_S], _t.Tuple[_S], _t.Set[_S]]
|
||||
"""Like Sequence, but excludes `str`."""
|
||||
"""Like `typing.Sequence`, but excludes `str`."""
|
||||
|
||||
Reference in New Issue
Block a user