diff --git a/bikeshed/refs/utils.py b/bikeshed/refs/utils.py index 7257d86af7..99df589d62 100644 --- a/bikeshed/refs/utils.py +++ b/bikeshed/refs/utils.py @@ -58,7 +58,9 @@ def filterOldVersions(refs: list[t.RefWrapper], status: str | None = None) -> li return refs -def linkTextVariations(str: str, linkType: str | None, linkFor: str | None = None) -> t.Generator[str, None, None]: +def linkTextVariations( + str: str, linkType: str | None, linkFor: str | list[str] | None = None +) -> t.Generator[str, None, None]: # Generate intelligent variations of the provided link text, # so explicitly adding an lt attr isn't usually necessary. str = str.strip()