diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-01-03 15:29:41 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-01-07 22:14:56 +0900 |
commit | 4ce11cc30df1805459a615960fdec204a975548a (patch) | |
tree | 084f1e1fa404bdf0d082b1a58acf392b5d177326 /sip/tdecore/kmacroexpander.sip | |
parent | 065f41b4908b11278d4334e8c85150ec0fd4a9f6 (diff) | |
download | pytde-4ce11cc30df1805459a615960fdec204a975548a.tar.gz pytde-4ce11cc30df1805459a615960fdec204a975548a.zip |
Drop python2 support.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'sip/tdecore/kmacroexpander.sip')
-rw-r--r-- | sip/tdecore/kmacroexpander.sip | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sip/tdecore/kmacroexpander.sip b/sip/tdecore/kmacroexpander.sip index 7f2b3d2..bb3a39d 100644 --- a/sip/tdecore/kmacroexpander.sip +++ b/sip/tdecore/kmacroexpander.sip @@ -143,7 +143,7 @@ TQString expandMacrosShellQuote (const TQString&, const TQMap<TQStr for (it = map.begin (); it != map.end (); ++it) { TQChar acpp = it.key (); - PyObject *binst = PyString_FromString ((char *)((TQString *)&it.data ())); + PyObject *binst = SIPBytes_FromString ((char *)((TQString *)&it.data ())); PyObject *ainst; if (((ainst = sipConvertFromNewType(new TQChar(acpp), sipType_TQChar, sipTransferObj)) == NULL) || (binst == NULL) @@ -232,7 +232,7 @@ TQString expandMacrosShellQuote (const TQString&, const TQMap<TQStr for (it = map.begin (); it != map.end (); ++it) { TQStringList bcpp = it.data (); - PyObject *ainst = PyString_FromString ((char *)((TQString *)&it.key ())); + PyObject *ainst = SIPBytes_FromString ((char *)((TQString *)&it.key ())); PyObject *binst; if (((binst = sipConvertFromNewType(new TQStringList(bcpp), sipType_TQStringList, sipTransferObj)) == NULL) || (ainst == NULL) |