pythoncom.UnwrapObject

PyIDispatch = UnwrapObject(ob)

Unwraps a Python instance in a gateway object.

Parameters

ob : PyIUnknown

The object to unwrap.

Comments

If the object is not a PythonCOM object, then ValueError is raised.