Kaydet (Commit) 99f11b48 authored tarafından Zachary Ware's avatar Zachary Ware

Closes #21124, #28337: Call PyType_Ready on unpackiter_type.

Patch by Masayuki Yamamoto.
üst b7403435
......@@ -2301,6 +2301,9 @@ PyInit__struct(void)
if (PyType_Ready(&PyStructType) < 0)
return NULL;
if (PyType_Ready(&unpackiter_type) < 0)
return NULL;
/* Check endian and swap in faster functions */
{
const formatdef *native = native_table;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment