#NEWLINE# def do_copy( self , new_ids = False , id_scope = None , id_remap = None ) : #NEWLINE# #INDENT# cp = DBPortSpec . do_copy ( self , new_ids , id_scope , id_remap ) #NEWLINE# cp . _short_sigstring = self . _short_sigstring #NEWLINE# cp . _tooltip = self . _tooltip #NEWLINE# cp . _shape = self . _shape #NEWLINE# cp . _docstring = self . _docstring #NEWLINE# cp . is_valid = self . is_valid #NEWLINE# cp . __class__ = PortSpec #NEWLINE# return cp