mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Replace PyObject_Unicode with PyObject_Str everywhere, and remove the
#define for PyObject_Unicode in object.h.
This commit is contained in:
parent
6e8ea0fd9c
commit
519a042c7c
13 changed files with 25 additions and 26 deletions
|
@ -20,7 +20,7 @@
|
|||
#define STRINGLIB_NEW PyUnicode_FromUnicode
|
||||
#define STRINGLIB_RESIZE PyUnicode_Resize
|
||||
#define STRINGLIB_CHECK PyUnicode_Check
|
||||
#define STRINGLIB_TOSTR PyObject_Unicode
|
||||
#define STRINGLIB_TOSTR PyObject_Str
|
||||
|
||||
#define STRINGLIB_WANT_CONTAINS_OBJ 1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue