We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb9d01d commit 6f4da87Copy full SHA for 6f4da87
type_hint_arrow_samples/mismatched_return_type_example.py
@@ -1,5 +1,5 @@
1
-def get_number_of_titles(list) -> str:
2
- return len(list)
+def get_number_of_titles(titles: list) -> str:
+ return len(titles)
3
4
5
game_titles_list = ["Dragon Quest", "Final Fantasy", "Age of Empires"]
0 commit comments