Skip to content

Commit

Permalink
Fix 'has no __module__ attribute' warning
Browse files Browse the repository at this point in the history
  • Loading branch information
erlend-aasland committed Apr 26, 2023
1 parent e5ce31a commit a276753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/_ctypes/callproc.c
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ static PyType_Slot carg_slots[] = {
};

PyType_Spec carg_spec = {
.name = "CArgObject",
.name = "_ctypes.CArgObject",
.basicsize = sizeof(PyCArgObject),
.flags = (Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC |
Py_TPFLAGS_IMMUTABLETYPE | Py_TPFLAGS_DISALLOW_INSTANTIATION),
Expand Down

0 comments on commit a276753

Please sign in to comment.