[Python-checkins] Fix typo in formatter_unicode (GH-16831)

Miss Skeleton (bot) webhook-mailer at python.org
Fri Oct 25 13:03:27 EDT 2019


https://github.com/python/cpython/commit/edf9e8e98a487229800da832292703a9b3855139
commit: edf9e8e98a487229800da832292703a9b3855139
branch: 3.8
author: Miss Skeleton (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-10-25T10:03:23-07:00
summary:

Fix typo in formatter_unicode (GH-16831)


numbers's -> number's
(cherry picked from commit 7320ec05f72fc27b25789fe76f8297644e7e7e0a)

Co-authored-by: Hansraj Das <raj.das.136 at gmail.com>

files:
M Python/formatter_unicode.c

diff --git a/Python/formatter_unicode.c b/Python/formatter_unicode.c
index 3e9e9ba08602c..7c4ecf0b3e2cb 100644
--- a/Python/formatter_unicode.c
+++ b/Python/formatter_unicode.c
@@ -590,7 +590,7 @@ calc_number_widths(NumberFieldWidths *spec, Py_ssize_t n_prefix,
         spec->n_remainder + spec->n_rpadding;
 }
 
-/* Fill in the digit parts of a numbers's string representation,
+/* Fill in the digit parts of a number's string representation,
    as determined in calc_number_widths().
    Return -1 on error, or 0 on success. */
 static int



More information about the Python-checkins mailing list