CONAN.conf.new_getfile#
- CONAN.conf.new_getfile(object, _old_getfile=inspect.getfile)#
Get the source file of a class method. This is a modified version of inspect.getfile that gets the source file of a class method. If the object is a class, it looks for the source file of the method that is a class method. If the object is a method, it gets the source file of the method.