(self, name)
return [p for p in self if p.name == name]
Return a list of parts with that name.
Return a list of parts with that name.
Return a list of parts with that name .
def get_all(self, name):
        ''' Return a list of parts with that name. '''
        return [p for p in self if p.name == name]
def get_all ( self , name ) : return [ p for p in self if p . name == name ]