Skip to content

Commit 38c8d94

Browse files
authored
Update simple_type_hint_example.py
Added type for list
1 parent 835a5ac commit 38c8d94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

type-hint-arrow-samples/simple_type_hint_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
def get_number_of_titles(titles: list) -> int:
1+
def get_number_of_titles(titles: list[str]) -> int:
22
return len(titles)
33

44

0 commit comments

Comments
 (0)