blob: 206b64037aa1f1db9c6285696fc235b56ebd7017 [file] [log] [blame]
Eric Smith8c663262007-08-25 02:26:07 +00001/* 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"
Eric Smith8c663262007-08-25 02:26:07 +00006#include "../Objects/stringlib/unicodedefs.h"
7
Eric Smith4a7d76d2008-05-30 18:10:19 +00008
9#define FORMAT_STRING _PyUnicode_FormatAdvanced
10#define FORMAT_LONG _PyLong_FormatAdvanced
11#define FORMAT_FLOAT _PyFloat_FormatAdvanced
12
Eric Smith8c663262007-08-25 02:26:07 +000013#include "../Objects/stringlib/formatter.h"