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

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

src/i/n/incantus-HEAD/src/engine/CardRoles.py   incantus(Download)
    def add_counters(self, counter_type, number=1):
        if isinstance(counter_type, str): counter_type = Counter(counter_type)
        for counter in [counter_type.copy() for i in range(number)]:
            self._counters.append(counter)
            self.send(CounterAddedEvent(), counter=counter)