Skip to content

Commit

Permalink
write(): It's been generally agreed on the i18n-sig that the docstring
Browse files Browse the repository at this point in the history
marker should be output as a #, flag, e.g. "#, docstring".
  • Loading branch information
warsaw committed Jun 19, 2001
1 parent 6016e39 commit 8c78d3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/i18n/pygettext.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ def write(self, fp):
# 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.
Expand Down

0 comments on commit 8c78d3a

Please sign in to comment.