]> granicus.if.org Git - python/commit
Repair COMError. Since exceptions are new style classes now, setting
authorThomas Heller <theller@ctypes.org>
Fri, 13 Jul 2007 13:59:39 +0000 (13:59 +0000)
committerThomas Heller <theller@ctypes.org>
Fri, 13 Jul 2007 13:59:39 +0000 (13:59 +0000)
commit1421b001625b1108d4c8899c821acf8bf444f714
tree2cba72475f6b74ab586855db38cf9e18fc10dcde
parent928713c740c282063fc47c0c28f128f3ebd619e9
Repair COMError.  Since exceptions are new style classes now, setting
the methods and docstring after the type creation does not work, they
must be in the dictionary before creating the type.
Modules/_ctypes/_ctypes.c