code: def remove_suffix(text, suffix):
  	
  	rest, suffix, null = text.partition(suffix)
  	return rest
docs: Remove the suffix from the text if it exists.
  
  	>>> remove_suffix('name.git', '.git')
  	'name'
  
  	>>> remove_suffix('something special', 'sample')
  	'something special'