generate non-variadic functions in py3 case