diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2020-03-09 20:49:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-09 20:49:52 +0200 |
commit | eebaa9bfc593d5a46b293c1abd929fbfbfd28199 (patch) | |
tree | 9ba0bbaba8116eb71d0b80f11b586fe063aadbe5 /Python/formatter_unicode.c | |
parent | 6d0ee60740f2862a878f009671b1aaa75aeb0c2a (diff) | |
download | cpython-git-eebaa9bfc593d5a46b293c1abd929fbfbfd28199.tar.gz |
bpo-38249: Expand Py_UNREACHABLE() to __builtin_unreachable() in the release mode. (GH-16329)
Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Python/formatter_unicode.c')
-rw-r--r-- | Python/formatter_unicode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/formatter_unicode.c b/Python/formatter_unicode.c index 55ed59d368..841b25a43f 100644 --- a/Python/formatter_unicode.c +++ b/Python/formatter_unicode.c @@ -574,7 +574,7 @@ calc_number_widths(NumberFieldWidths *spec, Py_ssize_t n_prefix, spec->n_lpadding = n_padding; break; default: - /* Shouldn't get here, but treat it as '>' */ + /* Shouldn't get here */ Py_UNREACHABLE(); } } |