[python] add pass triangle