From: Alexander Cecile Date: Thu, 20 Aug 2020 22:42:31 +0000 (-0400) Subject: Document get_file_by_url X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=4fefecf2e3c50e4f6f810c3fb1fa342c166568b3;p=stevenblack-hosts.git Document get_file_by_url --- diff --git a/updateHostsFile.py b/updateHostsFile.py index 81d1da820..85aa25d74 100644 --- a/updateHostsFile.py +++ b/updateHostsFile.py @@ -1468,9 +1468,9 @@ def maybe_copy_example_file(file_path): def get_file_by_url(url, params=None, **kwargs): """ - Retrieve the contents of the hosts file at a certain URL, then pass it through domain_to_idna(). + Retrieve the contents of the hosts file at the URL, then pass it through domain_to_idna(). - Simple wrapper around the requests.get() function, uses the same parameters. + Parameters are passed to the requests.get() function. Parameters ----------