original_docstring: Return the canonical format of an IPv4 or IPv6 address
docstring: Return the canonical format of an IPv4 or IPv6 address
docstring_tokens: Return the canonical format of an IPv4 or IPv6 address
code: def canonical_ip_address(ip_addr):
      """Return the canonical format of an IPv4 or IPv6 address"""
      if ':' in ip_addr:
          return canonical_ipv6_address_with_version(ip_addr)[1]
      return canonical_ipv4_address(ip_addr)
code_tokens: def canonical_ip_address ( ip_addr ) : if ':' in ip_addr : return canonical_ipv6_address_with_version ( ip_addr ) [ 1 ] return canonical_ipv4_address ( ip_addr )
short_docstring: Return the canonical format of an IPv4 or IPv6 address
short_docstring_tokens: Return the canonical format of an IPv4 or IPv6 address
comment: """Return the canonical format of an IPv4 or IPv6 address"""