summaryrefslogtreecommitdiffstats
path: root/Objects/stringlib
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-07-02 21:19:59 (GMT)
committerGitHub <noreply@github.com>2023-07-02 21:19:59 (GMT)
commitc38c66687f148991031914f12ebd5c42d6e26b5b (patch)
treeecd745663c43bb4414930f4a9ffea668d6d726ed /Objects/stringlib
parentdbefa88b27ee1f124f782363b139aee3f1ccf590 (diff)
downloadcpython-c38c66687f148991031914f12ebd5c42d6e26b5b.zip
cpython-c38c66687f148991031914f12ebd5c42d6e26b5b.tar.gz
cpython-c38c66687f148991031914f12ebd5c42d6e26b5b.tar.bz2
gh-106320: Add pycore_complexobject.h header file (#106339)
Add internal pycore_complexobject.h header file. Move _Py_c_xxx() functions and _PyComplex_FormatAdvancedWriter() function to this new header file.
Diffstat (limited to 'Objects/stringlib')
-rw-r--r--Objects/stringlib/unicode_format.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/stringlib/unicode_format.h b/Objects/stringlib/unicode_format.h
index f4ba0a9..91c71ab 100644
--- a/Objects/stringlib/unicode_format.h
+++ b/Objects/stringlib/unicode_format.h
@@ -2,6 +2,7 @@
unicode_format.h -- implementation of str.format().
*/
+#include "pycore_complexobject.h" // _PyComplex_FormatAdvancedWriter()
#include "pycore_floatobject.h" // _PyFloat_FormatAdvancedWriter()
/************************************************************************/