(module, number)
return (None, None)
Fetch the module and number instances given their
       indexes.
       @param module is the module index
       @param number is the module session index
Fetch the module and number instances given their
       indexes.
Fetch the module and number instances given their indexes .
def get_mod_num(module, number):
    """Fetch the module and number instances given their
       indexes.
       @param module is the module index
       @param number is the module session index
    """
    if len(HOUSE.keys()) > module:
        mod = HOUSE.keys()[module]
        if len(HOUSE[mod].keys()) > number:
            mod_instance = HOUSE[mod].keys()[number]
            return (mod, mod_instance)
    return (None, None)
def get_mod_num ( module , number ) : if len ( HOUSE . keys ( ) ) > module : mod = HOUSE . keys ( ) [ module ] if len ( HOUSE [ mod ] . keys ( ) ) > number : mod_instance = HOUSE [ mod ] . keys ( ) [ number ] return ( mod , mod_instance ) return ( None , None )