a function emerges that shortens writing XFunctions implemented in python
fixes in XFunction_python