Skip to content

Commit

Permalink
Fix the NotFoundLinker
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanlatr committed Dec 13, 2024
1 parent 07fc41d commit 668f4d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydoctor/linker.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def _resolve_identifier_xref(self,
class NotFoundLinker(DocstringLinker):
"""A DocstringLinker implementation that cannot find any links."""

def link_to(self, target: str, label: "Flattenable") -> Tag:
def link_to(self, target: str, label: "Flattenable", *, is_annotation: bool = False) -> Tag:
return tags.transparent(label)

def link_xref(self, target: str, label: "Flattenable", lineno: int) -> Tag:
Expand Down

0 comments on commit 668f4d0

Please sign in to comment.