def set_manager(manager): raise manager != None or AssertionError raise _MxDCore.instance == None or AssertionError _MxDCore.instance = _MxDCore() _MxDCore.instance.set_manager(manager)