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

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

src/g/r/gramps-3.4.2/src/DateEdit.py   Gramps(Download)
        if modifier == Date.MOD_TEXTONLY:
            return (Date.QUAL_NONE, Date.MOD_TEXTONLY, Date.CAL_GREGORIAN,
                    Date.EMPTY,text, Date.NEWYEAR_JAN1)
 
        quality = QUAL_TEXT[self.quality_box.get_active()][0]

src/g/r/gramps-3.4.2/src/plugins/drawreport/StatisticsChart.py   Gramps(Download)
            return high[2] - low[2]
 
    if bstop == dstop == Date.EMPTY:
        lower = _calc_diff(bstart, dstart)
        age = (lower, lower)
    elif bstop == Date.EMPTY:
        lower = _calc_diff(bstart, dstart)
        upper = _calc_diff(bstart, dstop)
        age = (lower, upper)
    elif dstop == Date.EMPTY: