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
399 stars 61 forks source link

Fixed minor documentation bug in new_contract #2

Closed koffie closed 13 years ago

koffie commented 13 years ago

Hi, When reading your documentation I found a small error. I deceided to use this error to learn how to use github forking and pull request. I hope it's indeed an improvement.

AndreaCensi commented 13 years ago

Yep, thanks for the correction.

p.s. first time for me to use pull requests... very convenient!