Skip to content

Commit 835a5ac

Browse files
authored
Update mismatched_return_type_example.py
1 parent 7fa9ff3 commit 835a5ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

type-hint-arrow-samples/mismatched_return_type_example.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ def get_number_of_titles(titles: list) -> str:
22
return len(titles)
33

44

5-
game_titles_list = ["Dragon Quest", "Final Fantasy", "Age of Empires"]
6-
print(f"Number of titles: {get_number_of_titles(game_titles_list)}")
5+
games = ["Dragon Quest", "Final Fantasy", "Age of Empires"]
6+
print(f"Number of titles: {get_number_of_titles(games)}")

0 commit comments

Comments
 (0)