code: def from_chess960_pos(cls: Type[BaseBoardT], sharnagl: int) -> BaseBoardT:
          
          board = cls.empty()
          board.set_chess960_pos(sharnagl)
          return board
docs: Creates a new board, initialized with a Chess960 starting position.
  
          >>> import chess
          >>> import random
          >>>
          >>> board = chess.Board.from_chess960_pos(random.randint(0, 959))