summaryrefslogtreecommitdiff
path: root/Tools/i18n
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2001-06-19 19:54:19 +0000
committerBarry Warsaw <barry@python.org>2001-06-19 19:54:19 +0000
commitd2d1b56880760d8480d29bbbbb0d7e6bdaf16a43 (patch)
tree62faf3538e05880d6a516bc0a49c80e6a1f764c4 /Tools/i18n
parentc4ef81e4d48f206ad4e4f09ce8300f86dc137df8 (diff)
downloadcpython-d2d1b56880760d8480d29bbbbb0d7e6bdaf16a43.tar.gz
write(): It's been generally agreed on the i18n-sig that the docstring
marker should be output as a #, flag, e.g. "#, docstring".
Diffstat (limited to 'Tools/i18n')
-rwxr-xr-xTools/i18n/pygettext.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/i18n/pygettext.py b/Tools/i18n/pygettext.py
index a4bf01ff92..11ce185af9 100755
--- a/Tools/i18n/pygettext.py
+++ b/Tools/i18n/pygettext.py
@@ -342,7 +342,7 @@ class TokenEater:
# comment stating so. This is to aid translators who may wish
# to skip translating some unimportant docstrings.
if reduce(operator.__add__, v.values()):
- print >> fp, '#. docstring'
+ print >> fp, '#, docstring'
# k is the message string, v is a dictionary-set of (filename,
# lineno) tuples. We want to sort the entries in v first by
# file name and then by line number.