Closed madig closed 2 years ago
Adding for my own understanding.
Need to use list[str] | set[str] | tuple[str] instead of Iterator[str] because the latter matches a bare str as well, grrr.
list[str] | set[str] | tuple[str]
Iterator[str]
str
Adding for my own understanding.
Need to use
list[str] | set[str] | tuple[str]
instead ofIterator[str]
because the latter matches a barestr
as well, grrr.