Show More
@@ -103,7 +103,7 b' def docstrings(path):' | |||||
103 | only extract docstrings from functions mentioned in these tables. |
|
103 | only extract docstrings from functions mentioned in these tables. | |
104 | """ |
|
104 | """ | |
105 | mod = importpath(path) |
|
105 | mod = importpath(path) | |
106 | if mod.__doc__: |
|
106 | if not path.startswith('mercurial/') and mod.__doc__: | |
107 | src = open(path).read() |
|
107 | src = open(path).read() | |
108 | lineno = 1 + offset(src, mod.__doc__, path, 7) |
|
108 | lineno = 1 + offset(src, mod.__doc__, path, 7) | |
109 | print(poentry(path, lineno, mod.__doc__)) |
|
109 | print(poentry(path, lineno, mod.__doc__)) |
General Comments 0
You need to be logged in to leave comments.
Login now