title: reimporting a single function in python
body: <p>Using python in an interactive mode one imports a module then if the module is changed (a bug fix or something) one can simply use the reload() command. </p>
  
  <p>But what if I didn't import the entire module and used the 'from M import f,g' import statement. Is there any way to reimport only g?</p>
  
  <p>(I tried removing the function from the parameter table by 'del g' AND delete the .pyc file from the directory. It didn't help. when I reimported the function 'from M import g' the old g was loaded).  </p>