Skip to content

Commit a276753

Browse files
Fix 'has no __module__ attribute' warning
1 parent e5ce31a commit a276753

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_ctypes/callproc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ static PyType_Slot carg_slots[] = {
597597
};
598598

599599
PyType_Spec carg_spec = {
600-
.name = "CArgObject",
600+
.name = "_ctypes.CArgObject",
601601
.basicsize = sizeof(PyCArgObject),
602602
.flags = (Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC |
603603
Py_TPFLAGS_IMMUTABLETYPE | Py_TPFLAGS_DISALLOW_INSTANTIATION),

0 commit comments

Comments
 (0)