]> git.proxmox.com Git - mirror_edk2.git/blame - AppPkg/Applications/Python/Python-2.7.10/Python/formatter_unicode.c
AppPkg/Applications/Python/Python-2.7.10: Initial Checkin part 1/5.
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.10 / Python / formatter_unicode.c
CommitLineData
c8042e10
DM
1/* Implements the unicode (as opposed to string) version of the\r
2 built-in formatter for unicode. That is, unicode.__format__(). */\r
3\r
4#include "Python.h"\r
5\r
6#ifdef Py_USING_UNICODE\r
7\r
8#include "../Objects/stringlib/unicodedefs.h"\r
9\r
10#define FORMAT_STRING _PyUnicode_FormatAdvanced\r
11\r
12/* don't define FORMAT_LONG, FORMAT_FLOAT, and FORMAT_COMPLEX, since\r
13 we can live with only the string versions of those. The builtin\r
14 format() will convert them to unicode. */\r
15\r
16#include "../Objects/stringlib/formatter.h"\r
17\r
18#endif\r