mirror of
https://github.com/python/cpython.git
synced 2025-10-12 09:53:19 +00:00
Patch by Masayuki Yamamoto.
This commit is contained in:
parent
b74034351f
commit
99f11b48cd
1 changed files with 3 additions and 0 deletions
|
@ -2301,6 +2301,9 @@ PyInit__struct(void)
|
||||||
if (PyType_Ready(&PyStructType) < 0)
|
if (PyType_Ready(&PyStructType) < 0)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
if (PyType_Ready(&unpackiter_type) < 0)
|
||||||
|
return NULL;
|
||||||
|
|
||||||
/* Check endian and swap in faster functions */
|
/* Check endian and swap in faster functions */
|
||||||
{
|
{
|
||||||
const formatdef *native = native_table;
|
const formatdef *native = native_table;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue