blob: 1041852bf3af521076ed02f572534ac17da9aaea [file] [log] [blame]
Eric Smitha9f7d622008-02-17 19:46:49 +00001/***********************************************************************/
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 */
5
6#include "Python.h"
7#include "formatter_string.h"
8
9#include "../Objects/stringlib/stringdefs.h"
10
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"