Eric Smith | 8c66326 | 2007-08-25 02:26:07 +0000 | [diff] [blame] | 1 | /* implements the unicode (as opposed to string) version of the |
| 2 | built-in formatters for string, int, float. that is, the versions |
| 3 | of int.__float__, etc., that take and return unicode objects */ |
| 4 | |
| 5 | #include "Python.h" |
| 6 | #include "formatter_unicode.h" |
| 7 | |
| 8 | #include "../Objects/stringlib/unicodedefs.h" |
| 9 | |
| 10 | #define FORMAT_STRING unicode_unicode__format__ |
| 11 | #define FORMAT_LONG unicode_long__format__ |
| 12 | #define FORMAT_FLOAT unicode_float__format__ |
| 13 | #include "../Objects/stringlib/formatter.h" |