def _stylesheet_param_dict(paramsDict, kwargsDict):
 paramsDict = dict(paramsDict)
 for (k, v) in kwargsDict.items():
  if (v is not None):
   paramsDict[k] = v
 paramsDict = stylesheet_params(**paramsDict)
 return paramsDict

def _stylesheet_param_dict ( paramsDict , kwargsDict ) : paramsDict = dict ( paramsDict ) for ( k , v ) in kwargsDict . items ( ) : if ( v is not None ) : paramsDict [ k ] = v paramsDict = stylesheet_params ( ** paramsDict ) return paramsDict
return a copy of paramsdict .