Delete a function

Steve Holden steve at holdenweb.com
Wed Mar 21 12:37:53 EDT 2007


gtb wrote:
> After a function has been imported to a shell how may it be deleted so
> that after editing it can reloaded anew?

Use the built-in reload() function to reload the module that defines the 
function.

regards
  Steve
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC/Ltd          http://www.holdenweb.com
Skype: holdenweb     http://del.icio.us/steve.holden
Recent Ramblings       http://holdenweb.blogspot.com




More information about the Python-list mailing list