code: def get(self, name, default=None):
          ''' Return the first part with that name or a default value (None). '''
          for part in self:
              if name == part.name:
                  return part
          return defaulf get(self, name, default=None):
          ''' Return the first part with that name or a default value (None). '''
          for part in self:
              if name == part.name:
                  return part
          return default
docs: Return the first part with that name or a default value (None).