From b71962bbaaeaf2ae7b80c3dff69bcfcb9d3d1fc9 Mon Sep 17 00:00:00 2001 From: Kodi Arfer Date: Thu, 6 Apr 2017 16:15:13 -0700 Subject: [PATCH] Remove unused internal fn import_file_to_globals --- hy/importer.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/hy/importer.py b/hy/importer.py index c3c0192..0a5f223 100644 --- a/hy/importer.py +++ b/hy/importer.py @@ -89,15 +89,6 @@ def import_file_to_module(module_name, fpath): return mod -def import_file_to_globals(env, module_name, fpath): - """ Import content from fpath and puts it into the dict provided - (e.g., for use in a REPL) - """ - mod = import_file_to_module(module_name, fpath) - for k, v in mod.__dict__.items(): - env[k] = v - - def import_buffer_to_module(module_name, buf): try: _ast = import_buffer_to_ast(buf, module_name)