tesselator: change the example to be compatible with python 3