alla flaggor
buster  ]
[ Källkod: python-contract  ]

Paket: python-contract (1.4-4)

Länkar för python-contract

Screenshot

Debianresurser:

Hämta källkodspaketet python-contract:

Ansvarig:

Externa resurser:

Liknande paket:

Programming by contract for Python

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.

Andra paket besläktade med python-contract

  • beror
  • rekommenderar
  • föreslår
  • enhances

Hämta python-contract

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 26,5 kbyte147,0 kbyte [filförteckning]