Skip to content

Commit b8bd6a5

Browse files
authored
Update Modules/hmacmodule.c
1 parent 1d3aede commit b8bd6a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/hmacmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ static PyObject *
865865
_hmac_HMAC_copy_impl(HMACObject *self, PyTypeObject *cls)
866866
/*[clinic end generated code: output=a955bfa55b65b215 input=17b2c0ad0b147e36]*/
867867
{
868-
HMACObject *copy = hmac_new_object(Py_TYPE(self));
868+
HMACObject *copy = hmac_new_object(cls);
869869
if (copy == NULL) {
870870
return NULL;
871871
}

0 commit comments

Comments
 (0)