(thing, title='Python Library Documentation: %s', forceload=0,
        output=None)
Display text documentation, given an object or a path to an object.
Display text documentation, given an object or a path to an object.
Display text documentation given an object or a path to an object .
def doc(thing, title='Python Library Documentation: %s', forceload=0,
        output=None):
    """Display text documentation, given an object or a path to an object."""
    try:
        if output is None:
            pager(render_doc(thing, title, forceload))
        else:
            output.write(render_doc(thing, title, forceload, plaintext))
    except (ImportError, ErrorDuringImport) as value:
        print(value)
def doc ( thing , title = 'Python Library Documentation: %s' , forceload = 0 , output = None ) : try : if output is None : pager ( render_doc ( thing , title , forceload ) ) else : output . write ( render_doc ( thing , title , forceload , plaintext ) ) except ( ImportError , ErrorDuringImport ) as value : print ( value )