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

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

src/m/c/mcandre-HEAD/python/cards/UNO/UNOAttackDeck.py   mcandre(Download)
  def __init__(self, cards = None):
    if cards is not None:
      self.setCards(cards)
    else:
      self.setCards(
        [

src/m/c/mcandre-HEAD/python/cards/UNO/DoubleUNODeck.py   mcandre(Download)
  def __init__(self, cards = None):
    # if deck is already a regular UNO Deck
    if cards is not None and len(cards) == len(UNODeck().getCards()): # 108
      self.setCards(cards + UNODeck().getCards())
    else:
      self.setCards(UNODeck().getCards() + UNODeck().getCards())