summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/i18n/formatting.txt7
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/topics/i18n/formatting.txt b/docs/topics/i18n/formatting.txt
index 2ca96ed57e..4c80786edc 100644
--- a/docs/topics/i18n/formatting.txt
+++ b/docs/topics/i18n/formatting.txt
@@ -176,11 +176,10 @@ To customize the English formats, a structure like this would be needed::
where :file:`formats.py` contains custom format definitions. For example::
- THOUSAND_SEPARATOR = ' '
-
-to use a space as a thousand separator, instead of the default for English,
-a comma.
+ THOUSAND_SEPARATOR = u' '
+to use a non-breaking space (Unicode ``00A0``) as a thousand separator,
+instead of the default for English, a comma.
Limitations of the provided locale formats
==========================================