mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Fixed compile error on windows.
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user