Revision 1d55ec329a08c2d022d4d83887bd71755bc52026 authored by Ezio Melotti on 02 August 2010, 23:34:49 UTC, committed by Ezio Melotti on 02 August 2010, 23:34:49 UTC
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79539 | florent.xicluna | 2010-04-01 01:01:03 +0300 (Thu, 01 Apr 2010) | 2 lines

  Replace catch_warnings with check_warnings when it makes sense.  Use assertRaises context manager to simplify some tests.
........
1 parent cc436eb
Raw File
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