python runtime services suffix is the filename suffixmode is the file mode that would be used to open the moduleand module_type is an integer code specifying the module type module type codes are defined in the imp module as followsmodule type description imp py_source python source file python compiled object file pycdynamically loadable extension package directory built-in module frozen module imp py_compiled imp c_extension imp pkg_directory imp c_builtin imp py_frozen getmodulename(pathreturns the name of the module that would be used for the file path if path does not look like python modulenone is returned getmro(clsreturns tuple of classes that represent the method-resolution ordering used to resolve methods in class cls refer to "classes and object-oriented programming,for further details getouterframes(frame [context]returns list of frame records for frame and all outer frames this list represents the calling sequence where the first entry contains information for frame each frame record is -tuple (framefilenamelinefuncnamecontextlistindexwhere the fields have the same meaning as for getinnerframes()the context argument has the same meaning as for getframeinfo(getsourcefile(objectreturns the name of the python source file in which object was defined getsourcelines(objectreturns tuple (sourcelinesfirstlinecorresponding to the definition of object sourcelines is list of source code linesand firstline is the line number of the first source code line raises ioerror if source code can' be found getsource(objectreturns source code of object as single string raises ioerror if the source code can' be found isabstract(objectreturns true if object is an abstract base class isbuiltin(objectreturns true if object is built-in function isclass(objectreturns true if object is class lib fl ff