Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(2) | Call(2) | Derive(0) | Import(0)
Initializes a new Board. If another Board is passed via `other', initializes this board to have the same state as the other. Pieces are instantiated using the given piece type `Piecetype'. This allows a Board subclass to pass in a corresponding Piece subclass.
src/p/y/pythello-0.1/pythello/boardtk.py pythello(Download)
def __init__(self, tk, canvas): self.tk = tk self.canvas = canvas Board.__init__(self, Piecetype=partial(PieceTk, canvas=canvas)) self.drawboard()
src/s/i/simpleRaft-HEAD/simpleRaft/boards/memory_board.py simpleRaft(Download)
def __init__( self ): Board.__init__( self ) self._board = [] def post_message( self, message ):