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

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

src/m/e/mercurial-2.9.1/mercurial/revset.py   Mercurial(Download)
    if 'summary' in fields and 'description' in fields:
        # If a revision matches its description it also matches its summary
        fields.discard('summary')
 
    # We may want to match more than one field

src/h/g/hg-HEAD/mercurial/revset.py   hg(Download)
    if 'summary' in fields and 'description' in fields:
        # If a revision matches its description it also matches its summary
        fields.discard('summary')
 
    # We may want to match more than one field

src/b/r/browser-stats-HEAD/scripts/process.py   browser-stats(Download)
            if idx == 0 or tdata.data[idx-1][0] == '':
                self.browsers.update(set(row[1:]))
        self.browsers.discard('')
        self.browsers = list(self.browsers)
        self.browsers.append('Moz (All)')

src/c/u/Cura-HEAD/Cura/util/pymclevel/infiniteworld.py   Cura(Download)
 
                newDirtyChunks = set(newDirtyChunks)
                newDirtyChunks.discard(zeroChunk)
 
                dirtyChunks = sorted(newDirtyChunks, key=lambda x: x.chunkPosition)

src/c/r/craftyhive-HEAD/old_minetown/pymclevel/mclevel.py   craftyhive(Download)
            """
            newDirtyChunks = set(newDirtyChunks)
            newDirtyChunks.discard(zeroChunk)
 
            dirtyChunks = sorted(newDirtyChunks, key=lambda x:x.chunkPosition) 

src/p/k/pkgcore-HEAD/pkgcore/fetch/base.py   pkgcore(Download)
 
        chfs = set(target.chksums).intersection(handlers)
        chfs.discard("size")
        chfs = list(chfs)
        if nondefault_handlers:

src/m/i/minecraft.print-HEAD/pymclevel/infiniteworld.py   minecraft.print(Download)
 
                newDirtyChunks = set(newDirtyChunks)
                newDirtyChunks.discard(zeroChunk)
 
                dirtyChunks = sorted(newDirtyChunks, key=lambda x: x.chunkPosition)

src/p/y/pymclevel-HEAD/infiniteworld.py   pymclevel(Download)
                """
                newDirtyChunks = set(newDirtyChunks)
                newDirtyChunks.discard(zeroChunk)
 
                dirtyChunks = sorted(newDirtyChunks, key=lambda x:x.chunkPosition)

src/b/r/breezeminder-HEAD/breezeminder/tasks.py   breezeminder(Download)
 
            if not created:
                stale.discard(bus.id)
                current = defaults['status_time'] > bus.status_time
                updated = bus.update_maybe(**defaults)

src/d/j/django-viewtester-10.4.3/viewtester/middleware.py   django-viewtester(Download)
        # Skip some keys
        for discardkey in VIEWTESTER_DISCARD_CONTEXT_KEYS:
            keys.discard(discardkey)
 
        keys = list(keys)