Как чисто виртуальные методы реализованы в Python?

Я пока не нашел как. Тем временем я в настоящее время использую вот так:

@abc.abstractmethod
def pure_virtual_method(self, a, b):
    """
      Method description.
      :param a: Whatever...
      :param b: Whatever...
      :returns: Whatever...
    """
    #   This line should never be executed.
    raise NotImplementedError(
        'pure virtual method specification called instead of any '
        'implementation')

person 1737973    schedule 21.01.2015    source источник