def run_pydoc(module_name, *args, **env):
 args = (args + (module_name,))
 (rc, out, err) = assert_python_ok('-B', pydoc.__file__, *args, **env)
 return out.strip()

def run_pydoc ( module_name , * args , ** env ) : args = ( args + ( module_name , ) ) ( rc , out , err ) = assert_python_ok ( '-B' , pydoc . __file__ , * args , ** env ) return out . strip ( )
runs pydoc on the specified module .