summaryrefslogtreecommitdiff
path: root/Objects/stringlib/unicode_format.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-10-14 23:41:06 +0200
committerGitHub <noreply@github.com>2021-10-14 23:41:06 +0200
commit0a883a76cda8205023c52211968bcf87bd47fd6e (patch)
tree3a540308c72262afb3a750f47df6713410a99d90 /Objects/stringlib/unicode_format.h
parent79cf20e48d0b5d69d9fac2a0204b5ac2c366066a (diff)
downloadcpython-git-0a883a76cda8205023c52211968bcf87bd47fd6e.tar.gz
bpo-35134: Add Include/cpython/floatobject.h (GH-28957)
Split Include/floatobject.h into sub-files: add Include/cpython/floatobject.h and Include/internal/pycore_floatobject.h.
Diffstat (limited to 'Objects/stringlib/unicode_format.h')
-rw-r--r--Objects/stringlib/unicode_format.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Objects/stringlib/unicode_format.h b/Objects/stringlib/unicode_format.h
index 7152ec6ebe..a4eea7b919 100644
--- a/Objects/stringlib/unicode_format.h
+++ b/Objects/stringlib/unicode_format.h
@@ -2,6 +2,8 @@
unicode_format.h -- implementation of str.format().
*/
+#include "pycore_floatobject.h" // _PyFloat_FormatAdvancedWriter()
+
/************************************************************************/
/*********** Global data structures and forward declarations *********/
/************************************************************************/