code: def pieces(self, piece_type: PieceType, color: Color) -> "SquareSet":
          
          return SquareSet(self.pieces_mask(piece_type, color))
docs: Gets pieces of the given type and color.
  
          Returns a :class:`set of squares <chess.SquareSet>`.