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 982bfa4 commit 2f90261Copy full SHA for 2f90261
Modules/_randommodule.c
@@ -543,7 +543,7 @@ PyDoc_STRVAR(random_doc,
543
"Random() -> create a random number generator with its own internal state.");
544
545
static PyType_Slot Random_Type_slots[] = {
546
- {Py_tp_doc, random_doc},
+ {Py_tp_doc, (void *)random_doc},
547
{Py_tp_methods, random_methods},
548
{Py_tp_new, random_new},
549
{Py_tp_free, PyObject_Free},
0 commit comments