Skip to content

Commit 704856a

Browse files
FirePing32cclauss
andauthored
Update web_programming/get_top_hn_posts.py
Co-authored-by: Christian Clauss <[email protected]>
1 parent b94c541 commit 704856a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_programming/get_top_hn_posts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from texttable import Texttable
33

44

5-
def stories() -> None:
5+
def hackernews_top_stories(max_stories: int = 10) -> dict:
66
"""
77
Get the top 10 latest posts from HackerNews and display
88
them as a table inside the terminal

0 commit comments

Comments
 (0)