Skip to content
This repository was archived by the owner on Feb 24, 2024. It is now read-only.

Commit 4315ee2

Browse files
committed
Py3: PyString_FromString -> PyUnicode_FromString
1 parent 78f1420 commit 4315ee2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/kerberos.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
// Basic renames (function parameters are the same)
3232
// No more int objects
3333
#define PyInt_FromLong PyLong_FromLong
34+
#define PyString_FromString PyUnicode_FromString
3435
#endif
3536

3637
#if PY_VERSION_HEX >= 0x03020000

0 commit comments

Comments
 (0)