From d63a3b8beb4a0841cb59fb3515347ccaab34b733 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Wed, 28 Sep 2011 07:41:54 +0200 Subject: Implement PEP 393. --- Include/floatobject.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Include/floatobject.h') diff --git a/Include/floatobject.h b/Include/floatobject.h index 90f0a454aa..243914b7a6 100644 --- a/Include/floatobject.h +++ b/Include/floatobject.h @@ -113,8 +113,9 @@ PyAPI_FUNC(int) PyFloat_ClearFreeList(void); /* Format the object based on the format_spec, as defined in PEP 3101 (Advanced String Formatting). */ PyAPI_FUNC(PyObject *) _PyFloat_FormatAdvanced(PyObject *obj, - Py_UNICODE *format_spec, - Py_ssize_t format_spec_len); + PyObject *format_spec, + Py_ssize_t start, + Py_ssize_t end); #endif /* Py_LIMITED_API */ #ifdef __cplusplus -- cgit v1.2.1