summaryrefslogtreecommitdiff
path: root/Lib/python
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/python')
-rw-r--r--Lib/python/builtin.swg3
-rw-r--r--Lib/python/pyinit.swg3
-rw-r--r--Lib/python/pyrun.swg6
3 files changed, 12 insertions, 0 deletions
diff --git a/Lib/python/builtin.swg b/Lib/python/builtin.swg
index 1d892375c..340037580 100644
--- a/Lib/python/builtin.swg
+++ b/Lib/python/builtin.swg
@@ -435,6 +435,9 @@ SwigPyStaticVar_Type(void) {
#if PY_VERSION_HEX >= 0x02060000
0, /* tp_version */
#endif
+#if PY_VERSION_HEX >= 0x03040000
+ 0, /* tp_finalize */
+#endif
#ifdef COUNT_ALLOCS
0,0,0,0 /* tp_alloc -> tp_next */
#endif
diff --git a/Lib/python/pyinit.swg b/Lib/python/pyinit.swg
index e71c72b27..26c1d7ed3 100644
--- a/Lib/python/pyinit.swg
+++ b/Lib/python/pyinit.swg
@@ -185,6 +185,9 @@ swig_varlink_type(void) {
#if PY_VERSION_HEX >= 0x02060000
0, /* tp_version */
#endif
+#if PY_VERSION_HEX >= 0x03040000
+ 0, /* tp_finalize */
+#endif
#ifdef COUNT_ALLOCS
0,0,0,0 /* tp_alloc -> tp_next */
#endif
diff --git a/Lib/python/pyrun.swg b/Lib/python/pyrun.swg
index 5eedca483..47ac80492 100644
--- a/Lib/python/pyrun.swg
+++ b/Lib/python/pyrun.swg
@@ -806,6 +806,9 @@ SwigPyObject_TypeOnce(void) {
#if PY_VERSION_HEX >= 0x02060000
0, /* tp_version */
#endif
+#if PY_VERSION_HEX >= 0x03040000
+ 0, /* tp_finalize */
+#endif
#ifdef COUNT_ALLOCS
0,0,0,0 /* tp_alloc -> tp_next */
#endif
@@ -985,6 +988,9 @@ SwigPyPacked_TypeOnce(void) {
#if PY_VERSION_HEX >= 0x02060000
0, /* tp_version */
#endif
+#if PY_VERSION_HEX >= 0x03040000
+ 0, /* tp_finalize */
+#endif
#ifdef COUNT_ALLOCS
0,0,0,0 /* tp_alloc -> tp_next */
#endif