diff options
Diffstat (limited to 'Python/thread.c')
-rw-r--r-- | Python/thread.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/thread.c b/Python/thread.c index 846f0254527..d3211219dff 100644 --- a/Python/thread.c +++ b/Python/thread.c @@ -155,7 +155,8 @@ PyThread_GetInfo(void) #endif if (ThreadInfoType.tp_name == 0) { - if (PyStructSequence_InitType2(&ThreadInfoType, &threadinfo_desc) < 0) + if (_PyStructSequence_InitBuiltin(&ThreadInfoType, + &threadinfo_desc) < 0) return NULL; } |