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