Paketname | python-contract |
Beschreibung | Programming by contract for python |
Archiv/Repository | Offizielles Debian Archiv squeeze (main) |
Version | 1.4-2 |
Sektion | devel |
Priorität | optional |
Installierte Größe | 208 Byte |
Hängt ab von | python-support (>= 0.7.1), python (>= 2.2) |
Empfohlene Pakete | |
Paketbetreuer | Debian Python Modules Team |
Quelle | |
Paketgröße | 29220 Byte |
Prüfsumme MD5 | cd9fb355c37c179286e71235b3ba80d2 |
Prüfsumme SHA1 | 307e92cd546103c2e4314d1c4126181eed18063e |
Prüfsumme SHA256 | 8d69db1f1994407c9704fe2f9da37312cba519d00dc18acb4b064df52ab2f9cb |
Link zum Herunterladen | python-contract_1.4-2_all.deb |
Ausführliche Beschreibung | This package provides a means for programming by contract in python.
Programming by contact is a methodology whereby a API designer can
define checkable preconditions and postconditions for method calls,
and invariants for classes and methods. The most famous use of this
methodology is in the Eiffel programming language.
.
This implementation of programming by contract has the developer
write constraints in the docstrings of methods and classes that can
be optionally checked at runtime. If the constraints are not met,
an exception is raised.
|