Tiny PY3 hack simplification