Adds a profile-opt target for easy compilation of a python binary using
[python.git] / Python / formatter_string.c
blob1041852bf3af521076ed02f572534ac17da9aaea
1 /***********************************************************************/
2 /* Implements the string (as opposed to unicode) version of the
3 built-in formatters for string, int, float. That is, the versions
4 of int.__float__, etc., that take and return string objects */
6 #include "Python.h"
7 #include "formatter_string.h"
9 #include "../Objects/stringlib/stringdefs.h"
11 #define FORMAT_STRING string__format__
12 #define FORMAT_LONG string_long__format__
13 #define FORMAT_INT string_int__format__
14 #define FORMAT_FLOAT string_float__format__
15 #include "../Objects/stringlib/formatter.h"