Eric Smith | a9f7d62 | 2008-02-17 19:46:49 +0000 | [diff] [blame] | 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 | #include "formatter_unicode.h" |
| 6 | |
| 7 | #include "../Objects/stringlib/unicodedefs.h" |
| 8 | |
| 9 | #define FORMAT_STRING unicode__format__ |
| 10 | /* don't define FORMAT_LONG and FORMAT_FLOAT, since we can live |
| 11 | with only the string versions of those. The builtin format() |
| 12 | will convert them to unicode. */ |
| 13 | #include "../Objects/stringlib/formatter.h" |