Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3729)

Unified Diff: Include/complexobject.h

Issue 14744: Use _PyUnicodeWriter API in str.format() internals
Patch Set: Created 1 year ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Include/floatobject.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Include/complexobject.h Wed May 23 23:17:22 2012 +0200
+++ b/Include/complexobject.h Wed May 23 23:45:27 2012 +0200
@@ -63,10 +63,12 @@ PyAPI_FUNC(Py_complex) PyComplex_AsCComp
/* Format the object based on the format_spec, as defined in PEP 3101
(Advanced String Formatting). */
#ifndef Py_LIMITED_API
-PyAPI_FUNC(PyObject *) _PyComplex_FormatAdvanced(PyObject *obj,
- PyObject *format_spec,
- Py_ssize_t start,
- Py_ssize_t end);
+PyAPI_FUNC(int) _PyComplex_FormatAdvancedWriter(
+ PyObject *obj,
+ PyObject *format_spec,
+ Py_ssize_t start,
+ Py_ssize_t end,
+ _PyUnicodeWriter *writer);
#endif
#ifdef __cplusplus
« no previous file with comments | « no previous file | Include/floatobject.h » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld cbc36f91f3f7