code: def getabsfile(object):
      
      return os.path.normcase(
          os.path.abspath(getsourcefile(object) or getfile(object)))
docs: Return an absolute path to the source or compiled file for an object.
  
      The idea is for each object to have a unique origin, so this routine
      normalizes the result as much as possible.