Tiny comment fix
authorKamil Madac <kamil.madac@gmail.com>
Wed, 4 Dec 2013 14:11:10 +0000 (15:11 +0100)
committerKamil Madac <kamil.madac@gmail.com>
Wed, 4 Dec 2013 14:11:10 +0000 (15:11 +0100)
requests/utils.py

index 1bebbaaf3b2f6d3188dfe4c2d5ad648f7db319fe..7b728c0d71eaeb6e20cebe64c54a224cdb95de78 100644 (file)
@@ -423,7 +423,7 @@ def address_in_network(ip, net):
 def dotted_netmask(mask):
     """
     Converts mask from /xx format to xxx.xxx.xxx.xxx
-    Example: if mask is /24 function returns 255.255.255.0
+    Example: if mask is 24 function returns 255.255.255.0
     """
     bits = 0xffffffff ^ (1 << 32 - mask) - 1
     return socket.inet_ntoa(struct.pack('>I', bits))