view Python/formatter_unicode.c @ 48632:5f3ef6400a96

Blocked revisions 65444 via svnmerge ........ r65444 | brett.cannon | 2008-08-03 15:57:23 -0700 (Sun, 03 Aug 2008) | 3 lines Remove a dict.has_key() and callable() usage in SimpleXMLRPCServer as triggered under -3 through test_xmlrpc. ........
author Brett Cannon <bcannon@gmail.com>
date Sun, 03 Aug 2008 22:58:03 +0000
parents 0da27fdf0192
children 2cde0d003ffc
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 "../Objects/stringlib/unicodedefs.h"


#define FORMAT_STRING _PyUnicode_FormatAdvanced
#define FORMAT_LONG   _PyLong_FormatAdvanced
#define FORMAT_FLOAT  _PyFloat_FormatAdvanced

#include "../Objects/stringlib/formatter.h"