]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in `format_string` docstring (GH-136742)
authorMax R <mxr@users.noreply.github.com>
Thu, 18 Dec 2025 13:43:19 +0000 (08:43 -0500)
committerGitHub <noreply@github.com>
Thu, 18 Dec 2025 13:43:19 +0000 (14:43 +0100)
Lib/locale.py

index 37cafb4a601b3c2c153d9763c4ec95a01709c328..0f1b429ea419b02965184836726123985aa437ae 100644 (file)
@@ -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