#NEWLINE# def __init__( self , address ) : #NEWLINE# #INDENT# "Instantiate a new IPv6 address object.\n\n        Args:\n            address: A string or integer representing the IP\n\n              Additionally, an integer can be passed, so\n              IPv6Address('2001:db8::') ==\n                IPv6Address(42540766411282592856903984951653826560)\n              or, more generally\n              IPv6Address(int(IPv6Address('2001:db8::'))) ==\n                IPv6Address('2001:db8::')\n\n        Raises:\n            AddressValueError: If address isn't a valid IPv6 address.\n\n        " #NEWLINE# _BaseAddress . __init__ ( self , address ) #NEWLINE# _BaseV6 . __init__ ( self , address ) #NEWLINE# if isinstance ( address , int ) : #NEWLINE# #INDENT# self . _check_int_address ( address ) #NEWLINE# self . _ip = address #NEWLINE# return #NEWLINE# #UNINDENT# if isinstance ( address , bytes ) : #NEWLINE# #INDENT# self . _check_packed_address ( address , 16 ) #NEWLINE# self . _ip = int . from_bytes ( address , 'big' ) #NEWLINE# return #NEWLINE# #UNINDENT# addr_str = str ( address ) #NEWLINE# self . _ip = self . _ip_int_from_string ( addr_str )