Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

delete function python

"""
Since foo is a global, you can delete it from the global definitions:
"""

def delete_func(func):
    del globals()[func.func_name]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #delete #function #python
ADD COMMENT
Topic
Name
5+8 =