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

All Samples(24)  |  Call(18)  |  Derive(0)  |  Import(6)

src/p/y/PyContracts-1.6.0/src/contracts/library/variables.py   PyContracts(Download)
from ..interface import Contract, ContractNotRespected, RValue, describe_value
from ..syntax import (W, oneOf, FollowedBy, NotAny)
 
 
class BindVariable(Contract):
nofollow += '0 1 2 3 4 5 6 7 8 9 _'
# but recall 'axis_angle'
int_variables = (oneOf(alphabetu.split())
                  + FollowedBy(NotAny(oneOf(nofollow.split()))))
misc_variables = (oneOf(alphabetl.split())
                  + FollowedBy(NotAny(oneOf(nofollow.split() + ['x']))))

src/c/o/contracts-HEAD/src/contracts/library/variables.py   contracts(Download)
from ..interface import Contract, ContractNotRespected, RValue, describe_value
from ..syntax import (W, oneOf, FollowedBy, NotAny)
 
 
class BindVariable(Contract):
nofollow += '0 1 2 3 4 5 6 7 8 9 _'
# but recall 'axis_angle'
int_variables = (oneOf(alphabetu.split())
                  + FollowedBy(NotAny(oneOf(nofollow.split()))))
misc_variables = (oneOf(alphabetl.split())
                  + FollowedBy(NotAny(oneOf(nofollow.split() + ['x']))))

src/p/y/PyContracts-1.6.0/src/contracts/library/extensions.py   PyContracts(Download)
from ..interface import Contract, ContractNotRespected, describe_value
from ..syntax import (Combine, Word, W, alphas, alphanums, oneOf,
                      ParseException)
 
 
 
# lowercase = alphas.lower()
identifier_expression = Combine(oneOf(list(alphas)) + Word('_' + alphanums))
 
identifier_contract = identifier_expression.copy().setParseAction(

src/c/o/contracts-HEAD/src/contracts/library/extensions.py   contracts(Download)
from ..interface import Contract, ContractNotRespected, describe_value
from ..syntax import (Combine, Word, W, alphas, alphanums, oneOf,
                      ParseException)
 
 
 
# lowercase = alphas.lower()
identifier_expression = Combine(oneOf(list(alphas)) + Word('_' + alphanums))
 
identifier_contract = identifier_expression.copy().setParseAction(

src/p/y/PyContracts-1.6.0/src/contracts/library/suggester.py   PyContracts(Download)
import operator
 
from ..syntax import (Combine, Word, alphas, alphanums, oneOf,
                      ParseSyntaxException, ParseException)
 

src/c/o/contracts-HEAD/src/contracts/library/suggester.py   contracts(Download)
import operator
 
from ..syntax import (Combine, Word, alphas, alphanums, oneOf,
                      ParseSyntaxException, ParseException)