AndreaCensi / contracts

PyContracts is a Python package that allows to declare constraints on function parameters and return values. Contracts can be specified using Python3 annotations, or inside a docstring. PyContracts supports a basic type system, variables binding, arithmetic constraints, and has several specialized contracts and an extension API.
http://andreacensi.github.io/contracts/
Other
398 stars 62 forks source link

Simplify isinstance in docstring #49

Open vanadium23 opened 8 years ago

vanadium23 commented 8 years ago

Hello, guys.

I've found issue #23. Can we implement this in docstring validation?