]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
__addentry(): add optional keyword arg `isdocstring' which is a flag
authorBarry Warsaw <barry@python.org>
Mon, 21 May 2001 19:51:26 +0000 (19:51 +0000)
committerBarry Warsaw <barry@python.org>
Mon, 21 May 2001 19:51:26 +0000 (19:51 +0000)
commit16b62c13003901cbf1286f46ac845d620026aeb0
treef764756a282fad813873405bf8242da0f51809f4
parent6e972414bec063ce953df9dea5a13239ac7e5604
__addentry(): add optional keyword arg `isdocstring' which is a flag
indicating whether the entry was extracted from a docstring or not.

write(): If any of the locations of a string appearance came from a
docstring, add a comment such as

#. docstring

before the references (after a suggestion by Martin von Loewis).
Tools/i18n/pygettext.py