Skip to content

Commit c711772

Browse files
author
Sébastien Delafond
committed
fusemodule: use PyUnicode_GET_LENGTH
1 parent 8dcf5a7 commit c711772

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fuseparts/_fusemodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
#define PyString_AsString PyUnicode_AsUTF8
100100
#endif
101101
#define PyString_Check PyUnicode_Check
102-
#define PyString_Size PyUnicode_GET_SIZE
102+
#define PyString_Size PyUnicode_GET_LENGTH
103103
#endif
104104

105105
#ifdef FIX_PATH_DECODING

0 commit comments

Comments
 (0)