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

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


https://github.com/python/cpython/commit/5207cc0ef0843c18cf3aab6fa918c9492ae4c1de
commit: 5207cc0ef0843c18cf3aab6fa918c9492ae4c1de
branch: 3.7
author: Miss Skeleton (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-10-25T10:02:47-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 ef81d15bc568b..e0de8cb9cdb27 100644
--- a/Python/formatter_unicode.c
+++ b/Python/formatter_unicode.c
@@ -589,7 +589,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