mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
write(): It's been generally agreed on the i18n-sig that the docstring
marker should be output as a #, flag, e.g. "#, docstring".
This commit is contained in:
parent
6016e39250
commit
8c78d3a5d1
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue