Skip to content

Commit 16be18d

Browse files
committed
Remove useless PyErr_NoMemory() call
1 parent 0078517 commit 16be18d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Modules/_hashopenssl.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1114,7 +1114,6 @@ _hashlib_HASHXOF_digest_impl(HASHobject *self, Py_ssize_t length)
11141114
temp_ctx = py_wrapper_EVP_MD_CTX_new();
11151115
if (temp_ctx == NULL) {
11161116
PyBytesWriter_Discard(writer);
1117-
PyErr_NoMemory();
11181117
return NULL;
11191118
}
11201119

0 commit comments

Comments
 (0)