From 1cd173a82c6a88d53340775d85a5620bc50955bc Mon Sep 17 00:00:00 2001 From: Xuanwo Date: Sat, 8 Apr 2017 20:44:49 +0800 Subject: [PATCH] Fix a typo in utils Signed-off-by: Xuanwo --- requests/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requests/utils.py b/requests/utils.py index f49d8215..727dc267 100644 --- a/requests/utils.py +++ b/requests/utils.py @@ -497,7 +497,7 @@ def requote_uri(uri): def address_in_network(ip, net): - """This function allows you to check if on IP belongs to a network subnet + """This function allows you to check if an IP belongs to a network subnet Example: returns True if ip = 192.168.1.1 and net = 192.168.1.0/24 returns False if ip = 192.168.1.1 and net = 192.168.100.0/24