#NEWLINE# @ classmethod #NEWLINE# def from_line( cls , line ) : #NEWLINE# #INDENT# if ( nets [ 0 : 3 ] != '379' ) : #NEWLINE# #INDENT# raise ValueError ( 'Not a valid IPC-D-356 Conductor statement' ) #NEWLINE# #UNINDENT# nets = line [ 3 : ] . strip ( ) . split ( ) #NEWLINE# return cls ( nets [ 0 ] , nets [ 1 : ] )