Skip to content

Commit

Permalink
typo in typehints
Browse files Browse the repository at this point in the history
  • Loading branch information
harisankar95 committed Nov 22, 2023
1 parent eb4305d commit 59f1668
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pathfinding3d/core/world.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Dict
from typing import Dict, List

from .diagonal_movement import DiagonalMovement
from .grid import Grid
Expand All @@ -10,7 +10,7 @@ class World:
def __init__(self, grids: Dict[int, Grid]):
self.grids = grids

def neighbors(self, node: Node, diagonal_movement: DiagonalMovement) -> list[Node]:
def neighbors(self, node: Node, diagonal_movement: DiagonalMovement) -> List[Node]:
"""
Get neighbors of the given node.
Expand Down

0 comments on commit 59f1668

Please sign in to comment.