,

:TODO_DOCUPDATE:

Les classes abstraites

from abc import ABC abstractmethod
 
class AbstractShape(ABC):
    @abstractmethod
    def area(self):
        pass 

Références