Skip to content

Commit

Permalink
change slist to sequence to make variance ok
Browse files Browse the repository at this point in the history
  • Loading branch information
thejaminator committed Oct 18, 2023
1 parent 6a9b8da commit 92898cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slist/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ def matches_search(text: str) -> bool:

return self.filter(predicate=lambda item: matches_search(key(item)))

def mk_string(self: Slist[str], sep: str) -> str:
def mk_string(self: Sequence[str], sep: str) -> str:
return sep.join(self)

@overload
Expand Down

0 comments on commit 92898cb

Please sign in to comment.