Skip to content

Commit

Permalink
protocols: 3.8 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
MKuranowski committed Jul 13, 2024
1 parent 9b41864 commit a09fcec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyroutelib3/protocols.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def get_node(self, id: int) -> NodeLikeT_co:
"""
...

def get_edges(self, id: int) -> Iterable[tuple[int, float]]:
def get_edges(self, id: int) -> Iterable[Tuple[int, float]]:
"""get_edges must return all edges outgoing from a *node* with the provided ID.
The edges are a pair of (node_id, cost). All returned neighbor nodes must
exist in the graph.
Expand Down

0 comments on commit a09fcec

Please sign in to comment.