Skip to content

Commit 5b0dc8d

Browse files
authored
adjust comments (enthought#413)
1 parent 817b6b7 commit 5b0dc8d

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

comtypes/server/__init__.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ def CreateInstance(self, punkouter=None, interface=None, dynamic=False):
3131
# An interface was specified and obj is already that interface.
3232
return obj
3333

34-
##class IExternalConnection(IUnknown):
35-
## _iid_ = GUID("{00000019-0000-0000-C000-000000000046}")
36-
## _methods_ = [
37-
## STDMETHOD(HRESULT, "AddConnection", [c_ulong, c_ulong]),
38-
## STDMETHOD(HRESULT, "ReleaseConnection", [c_ulong, c_ulong, c_ulong])]
34+
# class IExternalConnection(IUnknown):
35+
# _iid_ = GUID("{00000019-0000-0000-C000-000000000046}")
36+
# _methods_ = [
37+
# STDMETHOD(HRESULT, "AddConnection", [c_ulong, c_ulong]),
38+
# STDMETHOD(HRESULT, "ReleaseConnection", [c_ulong, c_ulong, c_ulong])]
3939

4040
# The following code is untested:
4141

comtypes/server/automation.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ def Next(self, this, celt, rgVar, pCeltFetched):
3434
pCeltFetched[0] += 1
3535
except StopIteration:
3636
pass
37-
## except:
38-
## # ReportException? return E_FAIL?
39-
## import traceback
40-
## traceback.print_exc()
37+
# except:
38+
# # ReportException? return E_FAIL?
39+
# import traceback
40+
# traceback.print_exc()
4141

4242
if pCeltFetched[0] == celt:
4343
return S_OK

0 commit comments

Comments
 (0)