Skip to content

Commit ae555dd

Browse files
authored
Incorporate suggestion by @Shrey-N
1 parent 1442e46 commit ae555dd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Lib/ctypes/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818
from struct import calcsize as _calcsize
1919

2020
if __version__ != _ctypes_version:
21-
raise SystemError("Version number mismatch", __version__, _ctypes_version)
21+
raise SystemError(
22+
f"ctypes version mismatch: Python={__version__}, _ctypes={_ctypes_version}"
23+
)
2224

2325
if _os.name == "nt":
2426
from _ctypes import FormatError

0 commit comments

Comments
 (0)