summaryrefslogtreecommitdiffstats
path: root/lib/kross/python/cxx/cxx_extensions.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kross/python/cxx/cxx_extensions.cxx')
-rw-r--r--lib/kross/python/cxx/cxx_extensions.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kross/python/cxx/cxx_extensions.cxx b/lib/kross/python/cxx/cxx_extensions.cxx
index f9c942ad..eb9bd450 100644
--- a/lib/kross/python/cxx/cxx_extensions.cxx
+++ b/lib/kross/python/cxx/cxx_extensions.cxx
@@ -316,7 +316,7 @@ PythonType::PythonType( size_t basic_size, int itemsize, const char *default_nam
#if PY_MAJOR_VERSION > 2 || (PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION >= 1)
// first defined in 2.1
table->tp_richcompare = 0L;
- table->tp_weaklistoffset = 0L;
+ table->tp_weatdelistoffset = 0L;
#else
table->tp_xxx7 = 0L;
table->tp_xxx8 = 0L;