a few renames
authorElizaveta Shashkova <Elizaveta.Shashkova@jetbrains.com>
Fri, 16 Jan 2015 10:34:32 +0000 (13:34 +0300)
committerElizaveta Shashkova <Elizaveta.Shashkova@jetbrains.com>
Fri, 16 Jan 2015 10:34:32 +0000 (13:34 +0300)
python/helpers/pydev/_pydev_imps/_pydev_sys_patch.py

index a65d403683f91fa6de26a8c5894699defaeb6b24..e8a10e440ce6fb3ef2cb81e2fd649cc901693449 100644 (file)
@@ -4,14 +4,14 @@ import sys
 
 def patch_sys_module():
     def patched_exc_info(fun):
-        def inner():
+        def pydev_debugger_exc_info():
             type, value, traceback = fun()
             if type == ImportError:
                 #we should not show frame added by plugin_import call
                 if traceback and hasattr(traceback, "tb_next"):
                     return type, value, traceback.tb_next
             return type, value, traceback
-        return inner
+        return pydev_debugger_exc_info
 
     system_exc_info = sys.exc_info
     sys.exc_info = patched_exc_info(system_exc_info)
@@ -20,12 +20,12 @@ def patch_sys_module():
 
 
 def patched_reload(orig_reload):
-    def inner(module):
+    def pydev_debugger_reload(module):
         orig_reload(module)
         if module.__name__ == "sys":
             # if sys module was reloaded we should patch it again
             patch_sys_module()
-    return inner
+    return pydev_debugger_reload
 
 
 def patch_reload():