diff Include/complexobject.h @ 72475:8beaa9a37387

Implement PEP 393.
author Martin v. Löwis <martin@v.loewis.de>
date Wed, 28 Sep 2011 07:41:54 +0200
parents 62b61abd02b8
children 22b56b0b8619
line wrap: on
line diff
--- a/Include/complexobject.h	Tue Sep 27 20:52:04 2011 -0500
+++ b/Include/complexobject.h	Wed Sep 28 07:41:54 2011 +0200
@@ -64,8 +64,9 @@
    (Advanced String Formatting). */
 #ifndef Py_LIMITED_API
 PyAPI_FUNC(PyObject *) _PyComplex_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
 
 #ifdef __cplusplus