(the_module, print_submodules_flag=True)
Recursively prints ``the_module`` content. Internal utility function for debugging purposes

    :param the_module: Dictionary ``{'module_obj': module_obj, 'submodules': submodules,
        'classes': classes, 'functions': functions}``. The ``submodules`` is the list of
        submodules that belong to ``module_obj``. Each submodule has the same structure as ``the_module``.
        The ``classes`` is the list of classes that belong to ``module_obj``.
        The functions is the list of functions that belong ``to module_obj``.
Recursively prints ``the_module`` content. Internal utility function for debugging purposes
Recursively prints the_module content . Internal utility function for debugging purposes
def _print_module(the_module, print_submodules_flag=True):
    """
    Recursively prints ``the_module`` content. Internal utility function for debugging purposes

    :param the_module: Dictionary ``{'module_obj': module_obj, 'submodules': submodules,
        'classes': classes, 'functions': functions}``. The ``submodules`` is the list of
        submodules that belong to ``module_obj``. Each submodule has the same structure as ``the_module``.
        The ``classes`` is the list of classes that belong to ``module_obj``.
        The functions is the list of functions that belong ``to module_obj``.
    """
    print(the_module['module_obj'].__name__)

    print('  CLASSES:')
    for the_class in the_module['classes']:
        print('  - ' + the_class.__name__)

    print('  FUNCTIONS:')
    for the_func in the_module['functions']:
        print('  - ' + the_func.__name__)

    if print_submodules_flag:
        print('  SUBMODULES:')
        for submodule in the_module['submodules']:
            _print_module(submodule, print_submodules_flag)
def _print_module ( the_module , print_submodules_flag = True ) : print ( the_module [ 'module_obj' ] . __name__ ) print ( '  CLASSES:' ) for the_class in the_module [ 'classes' ] : print ( '  - ' + the_class . __name__ ) print ( '  FUNCTIONS:' ) for the_func in the_module [ 'functions' ] : print ( '  - ' + the_func . __name__ ) if print_submodules_flag : print ( '  SUBMODULES:' ) for submodule in the_module [ 'submodules' ] : _print_module ( submodule , print_submodules_flag )