mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
Fixed compile error on windows.
This commit is contained in:
parent
78821ddf8c
commit
1e234e8c19
1 changed files with 1 additions and 1 deletions
|
@ -740,7 +740,7 @@ PyObject_Format(PyObject* obj, PyObject *format_spec)
|
|||
}
|
||||
|
||||
/* Check the format_spec type, and make sure it's str or unicode */
|
||||
#if Py_USING_UNICODE
|
||||
#ifdef Py_USING_UNICODE
|
||||
if (PyUnicode_Check(format_spec))
|
||||
spec_is_unicode = 1;
|
||||
else if (PyString_Check(format_spec))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue