We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed38c20 commit aada866Copy full SHA for aada866
Lib/ctypes/__init__.py
@@ -19,7 +19,7 @@
19
from struct import calcsize as _calcsize
20
21
if __version__ != _ctypes_version:
22
- raise Exception("Version number mismatch", __version__, _ctypes_version)
+ raise SystemError("Version number mismatch", __version__, _ctypes_version)
23
24
if _os.name == "nt":
25
from _ctypes import COMError, CopyComPointer, FormatError
0 commit comments