docs: def ip_numstr_to_quad(num):
      """
      Convert an IP number as an integer given in ASCII
      representation to an IP address string.
  
      >>> ip_numstr_to_quad('3232235521')
      '192.168.0.1'
      >>> ip_numstr_to_quad(3232235521)
      '192.168.0.1'
      """
      packed = struct.pack('>L', int(num))
      bytes = struct.unpack('BBBB', packed)
      return ".".join(map(str, bytes))