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

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
Add an element to a set.

This has no effect if the element is already present.

src/m/r/mr.bent-1.0a1/mr/bent/wrapper.py   mr.bent(Download)
    def wrapper(function, *args, **kwargs):
        filters.add(name)
        results = function(*args, **kwargs)
        filters.remove(name)
        return results