From add71f65c3660a4ca374eb100adbfd989563ac3b Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Tue, 27 Feb 2018 11:19:03 -0500 Subject: [PATCH] better docstrings Signed-off-by: Kenneth Reitz --- requests_html.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requests_html.py b/requests_html.py index 536420a..b603267 100644 --- a/requests_html.py +++ b/requests_html.py @@ -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: