#NEWLINE# def __init__( self , network ) : #NEWLINE# #INDENT# if isinstance ( network , str ) : #NEWLINE# #INDENT# network = network . decode ( ) #NEWLINE# #UNINDENT# self . _network = ipaddress . ip_network ( self ) #NEWLINE# self . _hosts = self . _network . hosts ( )