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 aada866 commit b274a2bCopy full SHA for b274a2b
Lib/ctypes/__init__.py
@@ -19,7 +19,9 @@
19
from struct import calcsize as _calcsize
20
21
if __version__ != _ctypes_version:
22
- raise SystemError("Version number mismatch", __version__, _ctypes_version)
+ raise SystemError(
23
+ f"ctypes version mismatch: Python={__version__}, _ctypes={_ctypes_version}"
24
+)
25
26
if _os.name == "nt":
27
from _ctypes import COMError, CopyComPointer, FormatError
0 commit comments