Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Evaluates a location (column number or record number) against 
a specifications list.  Description:
   - uses the python string slicing formats to specify valid ranges 
    (all offset from 0):
   - 4, 5, 9 = location 4, 5, and 9
   - 1:3     = location 1 & 2 (end - 1)
   - 5:      = location 5 to the end
   - :5      = location 0 to 4 (end - 1)
   - :       = all locations
   - template:  spec, spec, spec:spec, spec, spec:spec(more...)

src/d/a/datagristle-0.56/gristle/tests/test_location_slicer.py   datagristle(Download)
        self.sp = mod.SpecProcessor(spec, spec_name)
        self.sp.spec_adjuster(loc_max)
        return self.sp.spec_evaluator(loc)
 
 

src/d/a/DataGristle-HEAD/gristle/tests/test_location_slicer.py   DataGristle(Download)
        self.sp = mod.SpecProcessor(spec, spec_name)
        self.sp.spec_adjuster(loc_max)
        return self.sp.spec_evaluator(loc)