FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix 'has no __module__ attribute' warning · python/cpython@a276753 · GitHub

/ cpython Public

Commit a276753

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎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)

Back | FazBrowse Home | New Git URL