We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30ea4dd commit e4f54bdCopy full SHA for e4f54bd
1 file changed
test/docstring.py
@@ -34,7 +34,8 @@ def run(args = None):
34
result = doctest.testmod(sys.modules.get(__name__))
35
36
import pydoc
37
- docmodule = pydoc.TextDoc().docmodule
+ import re
38
+ docmodule = lambda m: re.sub(".\10", "", pydoc.text.docmodule(m))
39
try:
40
print 'printing module help:'
41
print docmodule(docstring_ext)
0 commit comments