def type_defs(ob=None):
    from pyon.core.bootstrap import get_obj_registry

    if ob is not None:
        print "Type definition for: %s\n" % ob

        if not getattr(ob, '__iter__', False):
            ob = (ob,)
        for o in ob:
            print get_obj_registry().type_by_name[o]

    else:
        print "List of defined objects"
        print "-----------------------"
        tnames = sorted(get_obj_registry().type_by_name.keys())
        print pprint_list(tnames, -1, 1, 2)
        print "\nType type_defs('name') or type_defs(['name1','name2']) for definition"
Return the indices of the corners.
dataset/ETHPy150Open ooici/pyon/pyon/container/shell_api.py/type_defs--crossover with--dataset/ETHPy150Open sympy/sympy/sympy/combinatorics/polyhedron.py/Polyhedron.array_form