#NEWLINE# def supernet( self , prefixlen_diff = 1 ) : #NEWLINE# #INDENT# 'Override ipaddr.IPv6Network supernet so we can maintain comments.\n\n    See ipaddr.IPv6Network.Supernet for complete documentation.\n    ' #NEWLINE# if ( self . prefixlen == 0 ) : #NEWLINE# #INDENT# return self #NEWLINE# #UNINDENT# if ( ( self . prefixlen - self ) < 0 ) : #NEWLINE# #INDENT# raise PrefixlenDiffInvalidError ( ( 'current prefixlen is %d, cannot have a prefixlen_diff of %d' % ( self . prefixlen , prefixlen_diff ) ) ) #NEWLINE# #UNINDENT# ret_addr = IPv6 ( ipaddr . IPv6Network . supernet ( self , prefixlen_diff ) , comment = self . text , token = self . token ) #NEWLINE# return ret_addr