https://github.com/python/cpython
Raw File
Tip revision: 160b9a3c94c176f4df601a2e348e48fb6436925f authored by Barry Warsaw on 08 May 2008, 11:54:13 UTC
Bumping versions for 3.0a5
Tip revision: 160b9a3
formatter_unicode.c
/* 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"
back to top