parameters: (self, piece_shape)
return_statement: return self._piece_to_index[HashableShape(piece_shape)]
docstring: indexOfPiece(piece_shape): returns index of piece_shape in list of pieces
docstring_summary: indexOfPiece(piece_shape): returns index of piece_shape in list of pieces
docstring_tokens: indexOfPiece ( piece_shape ) : returns index of piece_shape in list of pieces
function: def indexOfPiece(self, piece_shape):
          "indexOfPiece(piece_shape): returns index of piece_shape in list of pieces"
          return self._piece_to_index[HashableShape(piece_shape)]
function_tokens: def indexOfPiece ( self , piece_shape ) : return self . _piece_to_index [ HashableShape ( piece_shape ) ]