Miscellaneous


source

show_code

 show_code (fun)

Shows the source code of a function in the output of the cell.

def f(a,b):
    '''Computes the sum $a+b$'''
    return a+b
show_code(f)
def f(a,b):
    '''Computes the sum $a+b$'''
    return a+b