code: def getparams(self, param):
          
  
          return list(cparam for cparam in self.values() if cparam == param)
docs: Get parameters which match with input param.
  
          :param Parameter param: parameter to compare with this parameters.
          :rtype: list