class object and bases is tuple of base classes if unique is trueeach class only appears once in the returned list otherwisea class may appear multiple times if multiple inheritance is being used getcomments(objectreturns string consisting of comments that immediately precede the definition of object in python source code if object is modulecomments defined at the top of the module are returned returns none if no comments are found getdoc(objectreturns the documentation string for object the documentation string is first processed using the cleandoc(function before being returned getfile(objectreturns the name of the file in which object was defined may return typeerror if this information is not applicable or available (for examplefor built-in functionsgetframeinfo(frame [context]returns named tuple traceback(filenamelinenofunctioncode_contextindexcontaining information about the frame object frame filename and line specify source code location the context parameter specifies the number of lines of context from the source code to retrieve the contextlist field in the returned tuple contains list of source lines corresponding to this context the index field is numerical index within this list for the line corresponding to frame getinnerframes(traceback [context]returns list of frame records for the frame of traceback and all inner frames each frame-record is -tuple consisting of (framefilenamelinefuncnamecontextlistindexfilenamelinecontextcontextlistand index have the same meaning as with getframeinfo(getmembers(object [predicate]returns all of the members of object typicallythe members are obtained by looking in the _dict_ attribute of an objectbut this function may return attributes of object stored elsewhere (for exampledocstrings in _doc_ _objectsnames in _name_ _and so onthe members are returned list of (namevaluepairs predicate is an optional function that accepts member object as an argument and returns true or false only members for which predicate returns true are returned functions such as isfunction(and isclass(can be used as predicate functions getmodule(objectreturns the module in which object was defined (if possiblegetmoduleinfo(pathreturns information about how python would interpret the file path if path is not python modulenone is returned otherwisea named tuple moduleinfo(namesuffixmodemodule_typeis returned where name is the name of the modulef lib fl ff