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

Couple generic collections upgrades #62

Closed slorg1 closed 5 years ago

slorg1 commented 6 years ago
slorg1 commented 6 years ago

@AndreaCensi this should be ready to go. I fixed all the issues that I introduced with my code. The ones I see here seem to be preexisting. Please let me know if I am wrong. Thank you!

slorg1 commented 5 years ago

@AndreaCensi Hi, I figured out all the issues and merged your latest code in: please accept my PR. Thank you.

slorg1 commented 5 years ago

@AndreaCensi could you please take another look at this? Thank you.