Issue #5812: The two-argument form of the Fraction constructor
[python.git] / Python / formatter_unicode.c
blob5cf5bad65ddc12df11edccd9b0b117f89b9da945
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 and FORMAT_FLOAT, since we can live
13 with only the string versions of those. The builtin format()
14 will convert them to unicode. */
16 #include "../Objects/stringlib/formatter.h"
18 #endif