import ntpath


def path_leaf(path):
	"""Returns the leaf of a given path.

	Args:
		path (string): path that is going to be processed.

	Returns:
		string: path leaf.
	"""
	head, tail = ntpath.split(path)
	return tail or ntpath.basename(head)