parameters: (new, old)
docstring: Attempts to import the old module and load it under the new name.
      Used for purely cosmetic name changes in Python 3.x.
docstring_summary: Attempts to import the old module and load it under the new name.
      Used for purely cosmetic name changes in Python 3.x.
docstring_tokens: Attempts to import the old module and load it under the new name . Used for purely cosmetic name changes in Python 3 . x .
function: def rename_module(new, old):
      """
      Attempts to import the old module and load it under the new name.
      Used for purely cosmetic name changes in Python 3.x.
      """
      try:
          sys.modules[new] = imp.load_module(old, *imp.find_module(old))
          return True
      except ImportError:
          return False
function_tokens: def rename_module ( new , old ) : try : sys . modules [ new ] = imp . load_module ( old , * imp . find_module ( old ) ) return True except ImportError : return False