From a52f82baf246e2fbbc58fe03ef7a51f3cc9514e1 Mon Sep 17 00:00:00 2001 From: Oleg Iarygin Date: Mon, 14 Mar 2022 19:03:21 +0300 Subject: bpo-46920: Remove disabled debug code added decades ago and likely unnecessary (GH-31812) --- Python/formatter_unicode.c | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'Python/formatter_unicode.c') diff --git a/Python/formatter_unicode.c b/Python/formatter_unicode.c index 0c21301fb9..a1e50e20c9 100644 --- a/Python/formatter_unicode.c +++ b/Python/formatter_unicode.c @@ -137,24 +137,6 @@ typedef struct { Py_UCS4 type; } InternalFormatSpec; -#if 0 -/* Occasionally useful for debugging. Should normally be commented out. */ -static void -DEBUG_PRINT_FORMAT_SPEC(InternalFormatSpec *format) -{ - printf("internal format spec: fill_char %d\n", format->fill_char); - printf("internal format spec: align %d\n", format->align); - printf("internal format spec: alternate %d\n", format->alternate); - printf("internal format spec: sign %d\n", format->sign); - printf("internal format spec: width %zd\n", format->width); - printf("internal format spec: thousands_separators %d\n", - format->thousands_separators); - printf("internal format spec: precision %zd\n", format->precision); - printf("internal format spec: type %c\n", format->type); - printf("\n"); -} -#endif - /* ptr points to the start of the format_spec, end points just past its end. -- cgit v1.2.1