refactor(nav): rename plan() to plot_course()
This commit is contained in:
parent
07cef1f5ac
commit
a14a63dca3
1 changed files with 1 additions and 1 deletions
2
nav.py
2
nav.py
|
|
@ -88,7 +88,7 @@ def legs(route: list[str]) -> Iterator[tuple[str, str]]:
|
|||
yield route[i], route[i + 1]
|
||||
|
||||
|
||||
def plan(destination: str) -> tuple[list[str], float, float, float]:
|
||||
def plot_course(destination: str) -> tuple[list[str], float, float, float]:
|
||||
"""Return route, distance, travel time (days) and fuel (t)."""
|
||||
route = ROUTES[destination]
|
||||
total = 0.0
|
||||
|
|
|
|||
Loading…
Reference in a new issue