blob: 114fe3016b8c26b49cc3e6b0c3bee0fa81e277b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* implements the unicode (as opposed to string) version of the
built-in formatters for string, int, float. that is, the versions
of int.__float__, etc., that take and return unicode objects */
#include "Python.h"
#include "formatter_unicode.h"
#include "../Objects/stringlib/unicodedefs.h"
#define FORMAT_STRING unicode_unicode__format__
#define FORMAT_LONG unicode_long__format__
#define FORMAT_FLOAT unicode_float__format__
#include "../Objects/stringlib/formatter.h"
|