summaryrefslogtreecommitdiff
path: root/Python/formatter_unicode.c
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2011-04-20 17:42:50 +0200
committerJesus Cea <jcea@jcea.es>2011-04-20 17:42:50 +0200
commit67a2d7acf997a69c0592c1753be6a0986006c65f (patch)
tree9c073bd7a8c4de860391cb77b5506a66ccdd5843 /Python/formatter_unicode.c
parent2ee75d55cc5c1c419eae550c72c6b9497f47e48a (diff)
parent93b04cdb7787723c3a26019d0de8834e86150108 (diff)
downloadcpython-67a2d7acf997a69c0592c1753be6a0986006c65f.tar.gz
MERGE: startswith and endswith don't accept None as slice index. Patch by Torsten Becker. (closes #11828)
Diffstat (limited to 'Python/formatter_unicode.c')
-rw-r--r--Python/formatter_unicode.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Python/formatter_unicode.c b/Python/formatter_unicode.c
index 79cb5f9192..c350907da1 100644
--- a/Python/formatter_unicode.c
+++ b/Python/formatter_unicode.c
@@ -9,8 +9,6 @@
#define FORMAT_STRING _PyUnicode_FormatAdvanced
#define FORMAT_LONG _PyLong_FormatAdvanced
#define FORMAT_FLOAT _PyFloat_FormatAdvanced
-#ifndef WITHOUT_COMPLEX
#define FORMAT_COMPLEX _PyComplex_FormatAdvanced
-#endif
#include "../Objects/stringlib/formatter.h"