(module, path=None)
return res
Backwards compatible interface.

    Call readmodule_ex() and then only keep Class objects from the
    resulting dictionary.
Backwards compatible interface.
Backwards compatible interface .
def readmodule(module, path=None):
    '''Backwards compatible interface.

    Call readmodule_ex() and then only keep Class objects from the
    resulting dictionary.'''

    res = {}
    for key, value in _readmodule(module, path or []).items():
        if isinstance(value, Class):
            res[key] = value
    return res
def readmodule ( module , path = None ) : res = { } for key , value in _readmodule ( module , path or [ ] ) . items ( ) : if isinstance ( value , Class ) : res [ key ] = value return res