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

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

src/h/g/hg-HEAD/mercurial/scmutil.py   hg(Download)
        first = second = None
    elif l.isascending():
        first = l.min()
        second = l.max()
    elif l.isdescending():
        first = l.max()
        second = l.min()

src/g/s/gsdview-HEAD/gsdview/gdalbackend/gdalsupport.py   gsdview(Download)
        if policy.upper() == 'NEAREST':
            distances = abs(distances)
            mindist = distances.min()
        elif policy.upper() == 'GREATER':
            indices = np.where(distances >= 0)[0]