summaryrefslogtreecommitdiff
path: root/Python/formatter_string.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/formatter_string.c')
-rw-r--r--Python/formatter_string.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/Python/formatter_string.c b/Python/formatter_string.c
index f33ad70586..e6a4d4baf5 100644
--- a/Python/formatter_string.c
+++ b/Python/formatter_string.c
@@ -6,9 +6,10 @@
#include "Python.h"
#include "../Objects/stringlib/stringdefs.h"
-#define FORMAT_STRING _PyBytes_FormatAdvanced
-#define FORMAT_LONG _PyLong_FormatAdvanced
-#define FORMAT_INT _PyInt_FormatAdvanced
-#define FORMAT_FLOAT _PyFloat_FormatAdvanced
+#define FORMAT_STRING _PyBytes_FormatAdvanced
+#define FORMAT_LONG _PyLong_FormatAdvanced
+#define FORMAT_INT _PyInt_FormatAdvanced
+#define FORMAT_FLOAT _PyFloat_FormatAdvanced
+#define FORMAT_COMPLEX _PyComplex_FormatAdvanced
#include "../Objects/stringlib/formatter.h"