diff options
author | Oleg Iarygin <oleg@arhadthedev.net> | 2022-03-14 16:03:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-14 16:03:21 (GMT) |
commit | a52f82baf246e2fbbc58fe03ef7a51f3cc9514e1 (patch) | |
tree | e2fb015a32f56f323bcc998e25ab3bb8c7735f38 /Python/formatter_unicode.c | |
parent | e885ac3d5f2fd83617ab75a098aab269b7a446c3 (diff) | |
download | cpython-a52f82baf246e2fbbc58fe03ef7a51f3cc9514e1.zip cpython-a52f82baf246e2fbbc58fe03ef7a51f3cc9514e1.tar.gz cpython-a52f82baf246e2fbbc58fe03ef7a51f3cc9514e1.tar.bz2 |
bpo-46920: Remove disabled debug code added decades ago and likely unnecessary (GH-31812)
Diffstat (limited to 'Python/formatter_unicode.c')
-rw-r--r-- | Python/formatter_unicode.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/Python/formatter_unicode.c b/Python/formatter_unicode.c index 0c21301..a1e50e2 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. |