Skip to content

Commit 43a430d

Browse files
authored
Update simple_type_hint_example.py
1 parent b841a72 commit 43a430d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

type_hint_arrow_samples/simple_type_hint_example.py

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

44

55
game_titles_list = ["Dragon Quest", "Final Fantasy", "Age of Empires"]

0 commit comments

Comments
 (0)