Staging
v0.5.1
https://github.com/python/cpython
Revision 7282a7aa70294ab8a6bf05314ca310262ab3b0b7 authored by Mark Dickinson on 03 October 2009, 08:45:59 UTC, committed by Mark Dickinson on 03 October 2009, 08:45:59 UTC
........
  r75157 | mark.dickinson | 2009-09-30 17:58:01 +0100 (Wed, 30 Sep 2009) | 1 line

  Fix buggy accuracy test
........
1 parent c3a1277
Raw File
Tip revision: 7282a7aa70294ab8a6bf05314ca310262ab3b0b7 authored by Mark Dickinson on 03 October 2009, 08:45:59 UTC
Blocked revisions 75157 via svnmerge
Tip revision: 7282a7a
formatter_unicode.c
/* Implements the unicode (as opposed to string) version of the
   built-in formatter for unicode.  That is, unicode.__format__(). */

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

#define FORMAT_STRING _PyUnicode_FormatAdvanced

/* don't define FORMAT_LONG and FORMAT_FLOAT, since we can live
   with only the string versions of those.  The builtin format()
   will convert them to unicode. */

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