Submitter | Katsunori FUJIWARA |
---|---|
Date | Aug. 15, 2017, 4:19 p.m. |
Message ID | <9278f5eb1e79227c875d.1502813945@speaknoevil> |
Download | mbox | patch |
Permalink | /patch/23023/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/i18n/hggettext b/i18n/hggettext --- a/i18n/hggettext +++ b/i18n/hggettext @@ -103,7 +103,7 @@ def docstrings(path): only extract docstrings from functions mentioned in these tables. """ mod = importpath(path) - if mod.__doc__: + if not path.startswith('mercurial/') and mod.__doc__: src = open(path).read() lineno = 1 + offset(src, mod.__doc__, path, 7) print(poentry(path, lineno, mod.__doc__))