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

All Samples(7646)  |  Call(7646)  |  Derive(0)  |  Import(0)
L.sort(cmp=None, key=None, reverse=False) -- stable sort *IN PLACE*;
cmp(x, y) -> -1, 0, 1

src/h/e/heroku-playframework-HEAD/play-1.2.2RC1/samples-and-tests/i-am-a-developer/mechanize/_opener.py   heroku-playframework(Download)
            for code, handlers in lookup.iteritems():
                handlers = list(handlers)
                handlers.sort()
                lookup[code] = handlers
        for scheme, handlers in handle_open.iteritems():
            handlers = list(handlers)
            handlers.sort()
        request_processors.update(self._any_request)
        request_processors = list(request_processors)
        request_processors.sort()
        for processor in request_processors:
            for meth_name in ["any_request", req_scheme+"_request"]:
        response_processors.update(self._any_response)
        response_processors = list(response_processors)
        response_processors.sort()
        for processor in response_processors:
            for meth_name in ["any_response", req_scheme+"_response"]:

src/r/e/restcommander-HEAD/play-1.2.4/samples-and-tests/i-am-a-developer/mechanize/_opener.py   restcommander(Download)
            for code, handlers in lookup.iteritems():
                handlers = list(handlers)
                handlers.sort()
                lookup[code] = handlers
        for scheme, handlers in handle_open.iteritems():
            handlers = list(handlers)
            handlers.sort()
        request_processors.update(self._any_request)
        request_processors = list(request_processors)
        request_processors.sort()
        for processor in request_processors:
            for meth_name in ["any_request", req_scheme+"_request"]:
        response_processors.update(self._any_response)
        response_processors = list(response_processors)
        response_processors.sort()
        for processor in response_processors:
            for meth_name in ["any_response", req_scheme+"_response"]:

src/p/u/pureplay-HEAD/modules/scala-0.7.3/samples-and-tests/i-am-a-developer/mechanize/_opener.py   pureplay(Download)
            for code, handlers in lookup.iteritems():
                handlers = list(handlers)
                handlers.sort()
                lookup[code] = handlers
        for scheme, handlers in handle_open.iteritems():
            handlers = list(handlers)
            handlers.sort()
        request_processors.update(self._any_request)
        request_processors = list(request_processors)
        request_processors.sort()
        for processor in request_processors:
            for meth_name in ["any_request", req_scheme+"_request"]:
        response_processors.update(self._any_response)
        response_processors = list(response_processors)
        response_processors.sort()
        for processor in response_processors:
            for meth_name in ["any_response", req_scheme+"_response"]:

src/s/i/SimpleGUICS2Pygame-01.04.00/SimpleGUICS2Pygame/example/Stress_Balls/Stress_Balls_results.py   SimpleGUICS2Pygame(Download)
 
    nb_balls_a = list(data_a.keys())
    nb_balls_a.sort()
 
    nb_balls_b = list(data_b.keys())
    nb_balls_b.sort()
# Sort results to display
alls_nb = list(alls_nb)
alls_nb.sort()
 
legends = list(all_results.keys())
legends.sort()
 
    nb_balls = list(data.keys())
    nb_balls.sort()
 
    r = []

src/s/a/sage-HEAD/src/sage/rings/polynomial/symmetric_ideal.py   sage(Download)
            if not VarList:
                return SymmetricIdeal(PARENT,[0])
            VarList.sort(cmp=PARENT.varname_cmp, reverse=True)
            from sage.rings.polynomial.polynomial_ring_constructor import PolynomialRing
            CommonR = PolynomialRing(self.base_ring(), VarList, order=self.ring()._order)
                        VarList = VarList.union([str(X) for X in P.variables()])
                VarList = list(VarList)
                VarList.sort(cmp=PARENT.varname_cmp, reverse=True)
                CommonR = PolynomialRing(PARENT._base, VarList, order=PARENT._order)
 

src/p/u/pureplay-HEAD/samples-and-tests/i-am-a-developer/mechanize/_opener.py   pureplay(Download)
            for code, handlers in lookup.iteritems():
                handlers = list(handlers)
                handlers.sort()
                lookup[code] = handlers
        for scheme, handlers in handle_open.iteritems():
            handlers = list(handlers)
            handlers.sort()
        request_processors.update(self._any_request)
        request_processors = list(request_processors)
        request_processors.sort()
        for processor in request_processors:
            for meth_name in ["any_request", req_scheme+"_request"]:
        response_processors.update(self._any_response)
        response_processors = list(response_processors)
        response_processors.sort()
        for processor in response_processors:
            for meth_name in ["any_response", req_scheme+"_response"]:

src/a/v/avocado-2.3.3/avocado/lexicon/managers.py   avocado(Download)
 
        items = list(self.get_query_set())
        items.sort(cmp=cmp, key=key, reverse=reverse)
 
        for i, item in enumerate(items):

src/a/v/avocado-HEAD/avocado/lexicon/managers.py   avocado(Download)
 
        items = list(self.get_query_set())
        items.sort(cmp=cmp, key=key, reverse=reverse)
 
        for i, item in enumerate(items):

src/k/a/kamaelia-HEAD/Sketches/MPS/BugReports/FixTests/Kamaelia/Examples/UsingChassis/PAR/par_slideshow.py   kamaelia(Download)
        files.append(os.path.join(path,fname))
 
files.sort()
 
Pipeline(

src/k/a/kamaelia-HEAD/Sketches/MPS/BugReports/FixTests/Kamaelia/Examples/UsingChassis/PAR/par_shutdown.py   kamaelia(Download)
        files.append(os.path.join(path,fname))
 
files.sort()
 
file = "/data/dirac-video/snowboard-jum-352x288x75.dirac.drc"

Previous  4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12  Next