Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/Python/formatter_string.c

    r2 r391  
    22/* Implements the string (as opposed to unicode) version of the
    33   built-in formatters for string, int, float.  That is, the versions
    4    of int.__float__, etc., that take and return string objects */
     4   of int.__format__, etc., that take and return string objects */
    55
    66#include "Python.h"
    77#include "../Objects/stringlib/stringdefs.h"
    88
    9 #define FORMAT_STRING _PyBytes_FormatAdvanced
    10 #define FORMAT_LONG   _PyLong_FormatAdvanced
    11 #define FORMAT_INT    _PyInt_FormatAdvanced
    12 #define FORMAT_FLOAT  _PyFloat_FormatAdvanced
     9#define FORMAT_STRING  _PyBytes_FormatAdvanced
     10#define FORMAT_LONG    _PyLong_FormatAdvanced
     11#define FORMAT_INT     _PyInt_FormatAdvanced
     12#define FORMAT_FLOAT   _PyFloat_FormatAdvanced
     13#ifndef WITHOUT_COMPLEX
     14#define FORMAT_COMPLEX _PyComplex_FormatAdvanced
     15#endif
    1316
    1417#include "../Objects/stringlib/formatter.h"
Note: See TracChangeset for help on using the changeset viewer.