typo: use one instead instead of two
[python.git] / Python / formatter_unicode.c
blob6e3685d16ec0f9b3d24c3812f8a71d91d729c471
1 /* Implements the unicode (as opposed to string) version of the
2 built-in formatter for unicode. That is, unicode.__format__(). */
4 #include "Python.h"
6 #ifdef Py_USING_UNICODE
8 #include "../Objects/stringlib/unicodedefs.h"
10 #define FORMAT_STRING _PyUnicode_FormatAdvanced
12 /* don't define FORMAT_LONG, FORMAT_FLOAT, and FORMAT_COMPLEX, since
13 we can live with only the string versions of those. The builtin
14 format() will convert them to unicode. */
16 #include "../Objects/stringlib/formatter.h"
18 #endif