view Python/formatter_unicode.c @ 47112:be581acea4e7

Blocked revisions 63392 via svnmerge ........ r63392 | alexandre.vassalotti | 2008-05-16 15:14:31 -0400 (Fri, 16 May 2008) | 2 lines Added Python 3.0 warning to cPickle. ........
author Alexandre Vassalotti <alexandre@peadrop.com>
date Fri, 16 May 2008 19:17:34 +0000
parents 5355337709e1
children 0da27fdf0192
line wrap: on
line source

/* 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"