dimanche 14 mars 2021

Design by contract in python [closed]

Is there any library which help to follow the principles of Design by contract in python ?
What I understand is Design by contract applies to function and is a way of specifying preconditions
for the arguments and post conditions when the function exits
Could a code that handles this with if statements etc without any particular library
can be called Design by contract ?

Aucun commentaire:

Enregistrer un commentaire