bpo-46920: Remove disabled debug code added decades ago and likely unnecessary (GH-31812)

This commit is contained in:
Oleg Iarygin 2022-03-14 19:03:21 +03:00 committed by GitHub
parent e885ac3d5f
commit a52f82baf2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 42 deletions

View file

@ -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.