I have not found how yet. Meanwhile am currently using like this:
@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')