Skip to content

Commit

Permalink
Try to fix typing again
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanlatr committed Dec 12, 2024
1 parent 3baa0c9 commit bb4497c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydoctor/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ def is_exception(cls: 'Class') -> bool:
return True
return False

Graph: TypeAlias = 'dict[object, list[T]]'
Graph: TypeAlias = 'dict[Any, Sequence[T]]'

def topsort(graph: Graph[T]) -> Iterable[T]:
"""
Expand Down

0 comments on commit bb4497c

Please sign in to comment.