Skip to content

Commit f91e1ae

Browse files
committed
add comment
1 parent 1361dfd commit f91e1ae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Modules/_sha3/sha3module.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,8 @@ static PyGetSetDef SHA3_getseters[] = {
512512
{0,0} \
513513
}
514514

515+
// Using PyType_GetModuleState() on these types is safe since
516+
// it cannot be subclassed: it does not have the Py_TPFLAGS_BASETYPE flag.
515517
#define SHA3_TYPE_SPEC(type_spec_obj, type_name, type_slots) \
516518
static PyType_Spec type_spec_obj = { \
517519
.name = type_name, \

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy