From 4fefecf2e3c50e4f6f810c3fb1fa342c166568b3 Mon Sep 17 00:00:00 2001 From: Alexander Cecile <35971201+AlexanderCecile@users.noreply.github.com> Date: Thu, 20 Aug 2020 18:42:31 -0400 Subject: [PATCH] Document get_file_by_url --- updateHostsFile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ----------