summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorblue-9 <cy.blue.9@gmail.com>2018-08-30 08:35:51 +0900
committerDonne Martin <donne.martin@gmail.com>2018-08-29 19:35:51 -0400
commit5a98783ab11d0ccd089d080f3ab3669a762d02b9 (patch)
tree03a018c1147c25033a4d67d2ef5855bc287beef9
parent046df925c3cf0eb7e2f0c5c979a22e81d52ec0cd (diff)
Clean up HackerNewsCli docstrings (#154)
-rw-r--r--haxor_news/hacker_news_cli.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/haxor_news/hacker_news_cli.py b/haxor_news/hacker_news_cli.py
index 3b9103b..be2aa17 100644
--- a/haxor_news/hacker_news_cli.py
+++ b/haxor_news/hacker_news_cli.py
@@ -187,6 +187,7 @@ class HackerNewsCli(object):
:type hacker_news: :class:`hacker_news.HackerNews`
:param hacker_news: An instance of `hacker_news.HackerNews`.
+ :type limit: int
:param limit: specifies the number of items to show.
Optional, defaults to 10.
"""
@@ -205,6 +206,7 @@ class HackerNewsCli(object):
:type hacker_news: :class:`hacker_news.HackerNews`
:param hacker_news: An instance of `hacker_news.HackerNews`.
+ :type limit: int
:param limit: specifies the number of items to show.
Optional, defaults to 10.
"""
@@ -223,6 +225,7 @@ class HackerNewsCli(object):
:type hacker_news: :class:`hacker_news.HackerNews`
:param hacker_news: An instance of `hacker_news.HackerNews`.
+ :type limit: int
:param limit: specifies the number of items to show.
Optional, defaults to 10.
"""
@@ -241,6 +244,7 @@ class HackerNewsCli(object):
:type hacker_news: :class:`hacker_news.HackerNews`
:param hacker_news: An instance of `hacker_news.HackerNews`.
+ :type limit: int
:param limit: specifies the number of items to show.
Optional, defaults to 10.
"""
@@ -263,11 +267,9 @@ class HackerNewsCli(object):
:type user_id: str
:param user_id: The user name/id.
+ :type limit: int
:param limit: specifies the number of items to show.
Optional, defaults to 10.
-
- Returns:
- None.
"""
hacker_news.user(user_id, limit)