From 980b9f049ece5276fcad58b48ba9f0993742fe6c Mon Sep 17 00:00:00 2001 From: Max R Date: Thu, 17 Jul 2025 09:33:12 -0400 Subject: [PATCH] Fix typo in `format_string` docstring "forth parameter" should be spelled "fourth parameter" --- Lib/locale.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/locale.py b/Lib/locale.py index 0bde7ed51c66c1..4d8f900f551a0b 100644 --- a/Lib/locale.py +++ b/Lib/locale.py @@ -214,7 +214,7 @@ def format_string(f, val, grouping=False, monetary=False): Grouping is applied if the third parameter is true. Conversion uses monetary thousands separator and grouping strings if - forth parameter monetary is true.""" + fourth parameter monetary is true.""" global _percent_re if _percent_re is None: import re