Staging
v0.5.1
https://github.com/python/cpython
Revision fc521498bbaf92c2920cca026ca69424298bd9d7 authored by Ezio Melotti on 02 August 2010, 20:52:47 UTC, committed by Ezio Melotti on 02 August 2010, 20:52:47 UTC
1 parent 5ee50bb
Raw File
Tip revision: fc521498bbaf92c2920cca026ca69424298bd9d7 authored by Ezio Melotti on 02 August 2010, 20:52:47 UTC
Fix test_bool. operator.isCallable() doesn't raise a warning on 2.6.
Tip revision: fc52149
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