https://github.com/python/cpython/commit/0f01530bd5a12639287b329050a143e442b23061
commit: 0f01530bd5a12639287b329050a143e442b23061
branch: main
author: Max R <[email protected]>
committer: encukou <[email protected]>
date: 2025-12-18T14:43:19+01:00
summary:
Fix typo in `format_string` docstring (GH-136742)
files:
M Lib/locale.py
diff --git a/Lib/locale.py b/Lib/locale.py
index 37cafb4a601b3c..0f1b429ea419b0 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
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]