[python] Python function pointer