Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 3540ef16c19f2260e347a679cb27d44ba734bec6 authored by Guido van Rossum on 31 August 2007, 15:07:53 UTC
Tagging for release of Python 3.0a1.
Tip revision: 3540ef1
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