Files
MINGW-packages/mingw-w64-python/0067-_xxsubinterpretersmodule.patch
Christoph Reiter 8198ab6550 python: Update to 3.9.7
This also adds builtin zoneinfo support like on Unix
2021-09-22 09:11:46 +02:00

27 lines
949 B
Diff

From c392c6966b0f46197e48dfd89b9361358be823ab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B9?=
<alexey.pawlow@gmail.com>
Date: Thu, 17 Jun 2021 18:52:20 +0530
Subject: [PATCH 067/N] _xxsubinterpretersmodule
---
Modules/_xxsubinterpretersmodule.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Modules/_xxsubinterpretersmodule.c b/Modules/_xxsubinterpretersmodule.c
index 314059d..f26e662 100644
--- a/Modules/_xxsubinterpretersmodule.c
+++ b/Modules/_xxsubinterpretersmodule.c
@@ -1761,7 +1761,7 @@ PyDoc_STRVAR(channelid_doc,
"A channel ID identifies a channel and may be used as an int.");
static PyTypeObject ChannelIDtype = {
- PyVarObject_HEAD_INIT(&PyType_Type, 0)
+ PyVarObject_HEAD_INIT(NULL, 0)
"_xxsubinterpreters.ChannelID", /* tp_name */
sizeof(channelid), /* tp_basicsize */
0, /* tp_itemsize */
--
2.33.0