]> git.proxmox.com Git - mirror_edk2.git/blob - AppPkg/Applications/Python/Python-2.7.10/Python/formatter_unicode.c
c43163927d090ceacaa419ccec47310a7ead8d86
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.10 / Python / formatter_unicode.c
1 /* Implements the unicode (as opposed to string) version of the
2 built-in formatter for unicode. That is, unicode.__format__(). */
3
4 #include "Python.h"
5
6 #ifdef Py_USING_UNICODE
7
8 #include "../Objects/stringlib/unicodedefs.h"
9
10 #define FORMAT_STRING _PyUnicode_FormatAdvanced
11
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. */
15
16 #include "../Objects/stringlib/formatter.h"
17
18 #endif