parameters: (mask)
return_statement: return socket.inet_ntoa(struct.pack('>I', bits))
docstring: Converts mask from /xx format to xxx.xxx.xxx.xxx
      Example: if mask is 24 function returns 255.255.255.0
docstring_summary: Converts mask from /xx format to xxx.xxx.xxx.xxx
      Example: if mask is 24 function returns 255.255.255.0
docstring_tokens: Converts mask from / xx format to xxx . xxx . xxx . xxx Example : if mask is 24 function returns 255 . 255 . 255 . 0
function: 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
      """
      bits = 0xffffffff ^ (1 << 32 - mask) - 1
      return socket.inet_ntoa(struct.pack('>I', bits))
function_tokens: def dotted_netmask ( mask ) : bits = 0xffffffff ^ ( 1 << 32 - mask ) - 1 return socket . inet_ntoa ( struct . pack ( '>I' , bits ) )