Wrap C++ code for use in Python program

If I set CV_OUT Mat out in python_func argument, would Python understand it?