diff options
Diffstat (limited to 'pyuno/source/module/pyuno_iterator.cxx')
-rw-r--r-- | pyuno/source/module/pyuno_iterator.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pyuno/source/module/pyuno_iterator.cxx b/pyuno/source/module/pyuno_iterator.cxx index a7862857d719..6ba7f96a9632 100644 --- a/pyuno/source/module/pyuno_iterator.cxx +++ b/pyuno/source/module/pyuno_iterator.cxx @@ -168,6 +168,9 @@ static PyTypeObject PyUNO_iterator_Type = , nullptr #if PY_VERSION_HEX >= 0x03080000 , nullptr // vectorcallfunc tp_vectorcall +#if PY_VERSION_HEX >= 0x03080200 + , 0 //Py_ssize_t tp_print +#endif #endif #endif }; @@ -305,6 +308,9 @@ static PyTypeObject PyUNO_list_iterator_Type = , nullptr #if PY_VERSION_HEX >= 0x03080000 , nullptr // vectorcallfunc tp_vectorcall +#if PY_VERSION_HEX >= 0x03080200 + , 0 //Py_ssize_t tp_print +#endif #endif #endif }; |