Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0be5d6c commit abb51feCopy full SHA for abb51fe
Modules/_blake2/blake2b_impl.c
@@ -407,6 +407,8 @@ static PyType_Slot blake2b_type_slots[] = {
407
{0,0}
408
};
409
410
+// Using PyType_GetModuleState() on this type is safe since
411
+// it cannot be subclassed: it does not have the Py_TPFLAGS_BASETYPE flag.
412
PyType_Spec blake2b_type_spec = {
413
.name = "_blake2.blake2b",
414
.basicsize = sizeof(BLAKE2bObject),
Modules/_blake2/blake2s_impl.c
@@ -406,6 +406,8 @@ static PyType_Slot blake2s_type_slots[] = {
406
PyType_Spec blake2s_type_spec = {
.name = "_blake2.blake2s",
.basicsize = sizeof(BLAKE2sObject),
0 commit comments