blob: f33ad70586ed566dce8fb620b2cb5445658c31b8 [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"
Eric Smitha9f7d622008-02-17 19:46:49 +00007#include "../Objects/stringlib/stringdefs.h"
8
Eric Smithdc13b792008-05-30 18:10:04 +00009#define FORMAT_STRING _PyBytes_FormatAdvanced
10#define FORMAT_LONG _PyLong_FormatAdvanced
11#define FORMAT_INT _PyInt_FormatAdvanced
12#define FORMAT_FLOAT _PyFloat_FormatAdvanced
13
Eric Smitha9f7d622008-02-17 19:46:49 +000014#include "../Objects/stringlib/formatter.h"