[Python-checkins] CVS: python/dist/src/Tools/i18n pygettext.py,1.18,1.19
Barry Warsaw
bwarsaw@users.sourceforge.net
Tue, 19 Jun 2001 12:54:21 -0700
Update of /cvsroot/python/python/dist/src/Tools/i18n
In directory usw-pr-cvs1:/tmp/cvs-serv22737
Modified Files:
pygettext.py
Log Message:
write(): It's been generally agreed on the i18n-sig that the docstring
marker should be output as a #, flag, e.g. "#, docstring".
Index: pygettext.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/i18n/pygettext.py,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -r1.18 -r1.19
*** pygettext.py 2001/05/24 23:06:13 1.18
--- pygettext.py 2001/06/19 19:54:19 1.19
***************
*** 343,347 ****
# to skip translating some unimportant docstrings.
if reduce(operator.__add__, v.values()):
! 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
--- 343,347 ----
# to skip translating some unimportant docstrings.
if reduce(operator.__add__, v.values()):
! 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