Skip to content
Myr

Typo fixed

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kamil Madac · committed by Kamil Madac · parent 21c88c8 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:requests/utils.py+1 added-1 removed
407 unmodified lines
408409410def address_in_network(ip, net):411 """412 This function allows you to check if on IP belongs to a Network subnet412 This function allows you to check if on IP belongs to a network subnet413 Example: returns True if ip = 192.168.1.1 and net = 192.168.1.0/24414 returns False if ip = 192.168.1.1 and net = 192.168.100.0/24415 """416 ipaddr = struct.unpack('=L', socket.inet_aton(ip))[0]
218 unmodified lines