diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-01-19 23:33:44 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-01-19 23:33:44 +0900 |
commit | 79ced6fbbdda1158aef437760ee0455fb9a9016d (patch) | |
tree | 5c1dc33e117f0a4846cb874f41434722741eb388 /sip/tdecore/tdeaccel.sip | |
parent | 12236609d02d708a0076a78145d527e023f47bab (diff) | |
download | pytde-79ced6fbbdda1158aef437760ee0455fb9a9016d.tar.gz pytde-79ced6fbbdda1158aef437760ee0455fb9a9016d.zip |
Remove/replace old conditional python code.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'sip/tdecore/tdeaccel.sip')
-rw-r--r-- | sip/tdecore/tdeaccel.sip | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sip/tdecore/tdeaccel.sip b/sip/tdecore/tdeaccel.sip index 15875a1..e8097ce 100644 --- a/sip/tdecore/tdeaccel.sip +++ b/sip/tdecore/tdeaccel.sip @@ -184,7 +184,7 @@ public: for (it = map.begin (); it != map.end (); ++it) { PyObject *iKey = PyLong_FromLong (((long) it.key ())); - PyObject *sData = SIPBytes_FromString ((char *)((TQString *)&it.data ())); + PyObject *sData = PyBytes_FromString ((char *)((TQString *)&it.data ())); if ((iKey == NULL) || (sData == NULL) || (PyDict_SetItem (dict, iKey, sData) < 0)) { |