Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/p/y/PyContracts-1.6.0/src/contracts/main.py   PyContracts(Download)
        return Storage.string2contract[string]
    try:
        c = contract_expression.parseString(string,
                                             parseAll=True)[0]
        assert isinstance(c, Contract), 'Want Contract, not %r' % c

src/c/o/contracts-HEAD/src/contracts/main.py   contracts(Download)
        return Storage.string2contract[string]
    try:
        c = contract_expression.parseString(string,
                                             parseAll=True)[0]
        assert isinstance(c, Contract), 'Want Contract, not %r' % c