better docstrings

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2018-02-27 11:19:03 -05:00
parent 7eb4b5ab7a
commit add71f65c3
+2 -2
View File
@@ -270,9 +270,9 @@ class HTML(BaseParser):
self.__dict__.update(html.__dict__)
def user_agent(style=None):
def user_agent(style='chrome'):
"""Returns a random user-agent, if not requested one of a specific
style.
style. Defaults to a Chrome-style User-Agent.
"""
if not style: