Skip to content

Commit

Permalink
Fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanlatr committed Dec 12, 2024
1 parent 569d754 commit 3baa0c9
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[T, list[T]]'
Graph: TypeAlias = 'dict[object, list[T]]'

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

0 comments on commit 3baa0c9

Please sign in to comment.