parameters: (module, path=None)
return_statement: return res
docstring: Backwards compatible interface.
  
      Call readmodule_ex() and then only keep Class objects from the
      resulting dictionary.
docstring_summary: Backwards compatible interface.
docstring_tokens: Backwards compatible interface .
function: 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
function_tokens: def readmodule ( module , path = None ) : res = { } for key , value in _readmodule ( module , path or [ ] ) . items ( ) : if isinstance ( value , Class ) : res [ key ] = value return res