Review of the `domain_to_idna()` notes.
authorfunilrys <redacted>
Fri, 2 Mar 2018 21:51:10 +0000 (22:51 +0100)
committerfunilrys <redacted>
Fri, 2 Mar 2018 21:51:10 +0000 (22:51 +0100)
This patch fix : https://github.com/StevenBlack/hosts/pull/520#discussion_r171971574

updateHostsFile.py

index 7c1afab76d4afea94478be03a1674bd1a8370172..3231e954e50ce5d442585d5a04de2106a8be778d 100644 (file)
@@ -1146,7 +1146,7 @@ def domain_to_idna(line):
 
     Notes
     -----
-    - This method/function encode only the domain to `idna` format because in
+    - This function encode only the domain to `idna` format because in
         most cases the encoding issue is due to a domain which looks like
         `b'\xc9\xa2oogle.com'.decode('idna')`.
     - About the splitting:
git clone https://git.99rst.org/PROJECT