diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-03-09 11:28:28 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-03-09 15:40:00 +0100 |
commit | 06484b6946ac6a974c24af6624fb75bbe298c1e8 (patch) | |
tree | 37a77c489b28b93f70406dbe18483c6b70ac811e /pyuno | |
parent | bd1088567bafa6293ffecf5331a9016b6d0438e3 (diff) |
fdo#46926: fix the fix for Python 3
Thanks to Maxime de Roucy for the hint that the "cmpfunc" type doesn't exist.
Diffstat (limited to 'pyuno')
-rw-r--r-- | pyuno/source/module/pyuno.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyuno/source/module/pyuno.cxx b/pyuno/source/module/pyuno.cxx index 555fefd14043..d51ad3bc95fc 100644 --- a/pyuno/source/module/pyuno.cxx +++ b/pyuno/source/module/pyuno.cxx @@ -661,7 +661,7 @@ static PyTypeObject PyUNOType = (printfunc) 0, (getattrfunc) PyUNO_getattr, (setattrfunc) PyUNO_setattr, - (cmpfunc) 0, + /* this type does not exist in Python 3: (cmpfunc) */ 0, (reprfunc) PyUNO_repr, 0, 0, |