Staging
v0.5.1
https://github.com/python/cpython
Revision 345fff3de82f29a8bbb8bdead8cda1c1e480d040 authored by Éric Araujo on 28 July 2011, 20:27:28 UTC, committed by Éric Araujo on 28 July 2011, 20:27:28 UTC
1 parent 5ac56d2
Raw File
Tip revision: 345fff3de82f29a8bbb8bdead8cda1c1e480d040 authored by Éric Araujo on 28 July 2011, 20:27:28 UTC
Remove mentions of previous license in profile module (#12417 followup)
Tip revision: 345fff3
formatter_string.c
/***********************************************************************/
/* Implements the string (as opposed to unicode) version of the
   built-in formatters for string, int, float.  That is, the versions
   of int.__float__, etc., that take and return string objects */

#include "Python.h"
#include "../Objects/stringlib/stringdefs.h"

#define FORMAT_STRING _PyBytes_FormatAdvanced
#define FORMAT_LONG   _PyLong_FormatAdvanced
#define FORMAT_INT    _PyInt_FormatAdvanced
#define FORMAT_FLOAT  _PyFloat_FormatAdvanced

#include "../Objects/stringlib/formatter.h"
back to top