From: Barry Warsaw Date: Tue, 19 Jun 2001 19:54:19 +0000 (+0000) Subject: write(): It's been generally agreed on the i18n-sig that the docstring X-Git-Tag: v2.2a3~1514 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8c78d3a5d1225e986805925e13508a5339271e2a;p=thirdparty%2FPython%2Fcpython.git write(): It's been generally agreed on the i18n-sig that the docstring marker should be output as a #, flag, e.g. "#, docstring". --- diff --git a/Tools/i18n/pygettext.py b/Tools/i18n/pygettext.py index a4bf01ff92a8..11ce185af95a 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.