diff options
Diffstat (limited to 'pyuno/source/module/pyuno_iterator.cxx')
-rw-r--r-- | pyuno/source/module/pyuno_iterator.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pyuno/source/module/pyuno_iterator.cxx b/pyuno/source/module/pyuno_iterator.cxx index 8337feba9a9d..840fc977014a 100644 --- a/pyuno/source/module/pyuno_iterator.cxx +++ b/pyuno/source/module/pyuno_iterator.cxx @@ -167,12 +167,12 @@ static PyTypeObject PyUNO_iterator_Type = , nullptr #if PY_VERSION_HEX >= 0x03080000 , nullptr // vectorcallfunc tp_vectorcall -#if PY_VERSION_HEX >= 0x03080200 +#if PY_VERSION_HEX < 0x03090000 #if defined __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wdeprecated-declarations" #endif - , nullptr //Py_ssize_t tp_print + , nullptr // tp_print #if defined __clang__ #pragma clang diagnostic pop #endif @@ -313,12 +313,12 @@ static PyTypeObject PyUNO_list_iterator_Type = , nullptr #if PY_VERSION_HEX >= 0x03080000 , nullptr // vectorcallfunc tp_vectorcall -#if PY_VERSION_HEX >= 0x03080200 +#if PY_VERSION_HEX < 0x03090000 #if defined __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wdeprecated-declarations" #endif - , nullptr //Py_ssize_t tp_print + , nullptr // tp_print #if defined __clang__ #pragma clang diagnostic pop #endif |