summaryrefslogtreecommitdiffstats
path: root/Tools/i18n
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2001-06-19 19:54:19 (GMT)
committerBarry Warsaw <barry@python.org>2001-06-19 19:54:19 (GMT)
commit8c78d3a5d1225e986805925e13508a5339271e2a (patch)
treeeed00c75700835a81db1bb1c97d7e5cc2b490daf /Tools/i18n
parent6016e3925097f8ab6f5760eb26975a4356a129e1 (diff)
downloadcpython-8c78d3a5d1225e986805925e13508a5339271e2a.zip
cpython-8c78d3a5d1225e986805925e13508a5339271e2a.tar.gz
cpython-8c78d3a5d1225e986805925e13508a5339271e2a.tar.bz2
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 a4bf01f..11ce185 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.