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

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
tuple() -> empty tuple
tuple(iterable) -> tuple initialized from iterable's items

If the argument is a tuple, the return value is the same object.

src/a/e/AEI-HEAD/pyrimaa/game.py   AEI(Download)
from collections import defaultdict
 
from board import BLANK_BOARD, Color, IllegalMove, Position
 
log = logging.getLogger("game")
        if not start_position:
            self.insetup = True
            self.position = Position(Color.GOLD, 4, BLANK_BOARD)
        self.strict_setup = strict_setup
        self.min_timeleft = min_timeleft