parameters: ()
docstring: Set all module' __file__ attribute to an absolute path
docstring_summary: Set all module' __file__ attribute to an absolute path
docstring_tokens: Set all module __file__ attribute to an absolute path
function: def abs__file__():
      """Set all module' __file__ attribute to an absolute path"""
      for m in sys.modules.values():
          if hasattr(m, '__loader__'):
              continue   # don't mess with a PEP 302-supplied __file__
          try:
              m.__file__ = os.path.abspath(m.__file__)
          except (AttributeError, OSError):
              pass
function_tokens: def abs__file__ ( ) : for m in sys . modules . values ( ) : if hasattr ( m , '__loader__' ) : continue # don't mess with a PEP 302-supplied __file__ try : m . __file__ = os . path . abspath ( m . __file__ ) except ( AttributeError , OSError ) : pass