parameters: (m)
docstring: Replaces existing BuildContext methods to verify parameter names,
  	for example ``bld(source=)`` has no ending *s*
docstring_summary: Replaces existing BuildContext methods to verify parameter names,
  	for example ``bld(source=)`` has no ending *s*
docstring_tokens: Replaces existing BuildContext methods to verify parameter names for example bld ( source = ) has no ending * s *
function: def replace(m):
  	"""
  	Replaces existing BuildContext methods to verify parameter names,
  	for example ``bld(source=)`` has no ending *s*
  	"""
  	oldcall = getattr(Build.BuildContext, m)
  	def call(self, *k, **kw):
  		ret = oldcall(self, *k, **kw)
  		for x in typos:
  			if x in kw:
  				if x == 'iscopy' and 'subst' in getattr(self, 'features', ''):
  					continue
  				Logs.error('Fix the typo %r -> %r on %r', x, typos[x], ret)
  		return ret
  	setattr(Build.BuildContext, m, call)
function_tokens: def replace ( m ) : oldcall = getattr ( Build . BuildContext , m ) def call ( self , * k , * * kw ) : ret = oldcall ( self , * k , * * kw ) for x in typos : if x in kw : if x == 'iscopy' and 'subst' in getattr ( self , 'features' , '' ) : continue Logs . error ( 'Fix the typo %r -> %r on %r' , x , typos [ x ] , ret ) return ret setattr ( Build . BuildContext , m , call )