projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21c88c8
)
Typo fixed
author
Kamil Madac
<kamil.madac@gmail.com>
Thu, 5 Dec 2013 08:36:49 +0000
(09:36 +0100)
committer
Kamil Madac
<kamil.madac@gmail.com>
Thu, 5 Dec 2013 08:36:49 +0000
(09:36 +0100)
requests/utils.py
patch
|
blob
|
history
diff --git
a/requests/utils.py
b/requests/utils.py
index 12ff74df5b1eeaa51b45e74df2339cc8e7332ced..965b2550f7f36abfb0a6ab1d88785f1342cc978d 100644
(file)
--- a/
requests/utils.py
+++ b/
requests/utils.py
@@
-409,7
+409,7
@@
def requote_uri(uri):
def address_in_network(ip, net):
"""
- This function allows you to check if on IP belongs to a
N
etwork subnet
+ This function allows you to check if on IP belongs to a
n
etwork 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
"""