def SetFieldWeights (self, weights):
		"""
		Bind per-field weights by name; expects (name,field_weight) dictionary as argument.
		"""
		assert(isinstance(weights,dict))
		for key,val in list(weights.items()):
			assert(isinstance(key,str))
			AssertUInt32 ( val )
		self._fieldweights = weights

		Bind per-field weights by name; expects (name,field_weight) dictionary as argument.
		
plugins/sphinx/class/sphinxapi.py