summaryrefslogtreecommitdiffstats
path: root/Modules/_blake2/blake2s_impl.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/_blake2/blake2s_impl.c')
-rw-r--r--Modules/_blake2/blake2s_impl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_blake2/blake2s_impl.c b/Modules/_blake2/blake2s_impl.c
index 85c2d4e..7ab3917 100644
--- a/Modules/_blake2/blake2s_impl.c
+++ b/Modules/_blake2/blake2s_impl.c
@@ -408,6 +408,6 @@ static PyType_Slot blake2s_type_slots[] = {
PyType_Spec blake2s_type_spec = {
.name = "_blake2.blake2s",
.basicsize = sizeof(BLAKE2sObject),
- .flags = Py_TPFLAGS_DEFAULT,
+ .flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_IMMUTABLETYPE,
.slots = blake2s_type_slots
};