Skip to content
Myr

Tiny comment fix

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 0d52ef7 · 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
421 unmodified lines
422423def dotted_netmask(mask):424 """425 Converts mask from /xx format to xxx.xxx.xxx.xxx426 Example: if mask is /24 function returns 255.255.255.0426 Example: if mask is 24 function returns 255.255.255.0427 """428 bits = 0xffffffff ^ (1 << 32 - mask) - 1429 return socket.inet_ntoa(struct.pack('>I', bits))430
204 unmodified lines