def mediator_meta(*metaclasses):
	"""
	Return a metaclass that acts as a mediator for multiple metaclasses.

	EXAMPLE
	=======
	----
	>>> class Meta1(type):
			def __new__(metacls, name, bases, kwargs):
				print('metaclass 1')
				return super().__new__(metacls, name, bases, kwargs)

	>>> class Meta2(type):
			def __new__(metacls, name, bases, kwargs):
				print('metaclass 2')
				return super().__new__(metacls, name, bases, kwargs)

	>>> class A(metaclass=mediator_meta(Meta1, Meta2)):
			pass

	metaclass 1
	metaclass 2
	>>>
	----
	"""
	class MediatorMeta(*metaclasses):
		pass
	return MediatorMeta