Did I find the right examples for you? yes no

All Samples(16)  |  Call(16)  |  Derive(0)  |  Import(0)

src/m/a/main-HEAD/External.LCA_RESTRICTED/Languages/IronPython/27/Lib/site-packages/win32com/test/errorSemantics.py   main(Download)
        cap.capture()
        try:
            com_server.Commit(0)
        finally:
            cap.release()
        cap.capture()
        try:
            com_server.Commit(0)
        finally:
            cap.release()
        com_server = wrap(TestServer(), pythoncom.IID_IStream)
        try:
            com_server.Commit(0)
            raise RuntimeError("should have failed")
        except pythoncom.error:
        com_server = Dispatch(wrap(TestServer()))
        try:
            com_server.Commit(0)
            raise RuntimeError("should have failed")
        except pythoncom.error:

src/t/r/TrustRouter-HEAD/client/packaging/Windows/Python32/Lib/site-packages/win32com/test/errorSemantics.py   TrustRouter(Download)
        cap.capture()
        try:
            com_server.Commit(0)
        finally:
            cap.release()
        cap.capture()
        try:
            com_server.Commit(0)
        finally:
            cap.release()
        com_server = wrap(TestServer(), pythoncom.IID_IStream)
        try:
            com_server.Commit(0)
            raise RuntimeError("should have failed")
        except pythoncom.error:
        com_server = Dispatch(wrap(TestServer()))
        try:
            com_server.Commit(0)
            raise RuntimeError("should have failed")
        except pythoncom.error:

src/s/u/SublimeSpeech-HEAD/lib/pywin64bit/win32com/test/errorSemantics.py   SublimeSpeech(Download)
        cap.capture()
        try:
            com_server.Commit(0)
        finally:
            cap.release()
        cap.capture()
        try:
            com_server.Commit(0)
        finally:
            cap.release()
        com_server = wrap(TestServer(), pythoncom.IID_IStream)
        try:
            com_server.Commit(0)
            raise RuntimeError("should have failed")
        except pythoncom.error:
        com_server = Dispatch(wrap(TestServer()))
        try:
            com_server.Commit(0)
            raise RuntimeError("should have failed")
        except pythoncom.error:

src/s/u/SublimeSpeech-HEAD/lib/pywin32bit/win32com/test/errorSemantics.py   SublimeSpeech(Download)
        cap.capture()
        try:
            com_server.Commit(0)
        finally:
            cap.release()
        cap.capture()
        try:
            com_server.Commit(0)
        finally:
            cap.release()
        com_server = wrap(TestServer(), pythoncom.IID_IStream)
        try:
            com_server.Commit(0)
            raise RuntimeError("should have failed")
        except pythoncom.error:
        com_server = Dispatch(wrap(TestServer()))
        try:
            com_server.Commit(0)
            raise RuntimeError("should have failed")
        except pythoncom.error: