see #712, supporting PY2 type for this example