Delete Function
<p>I'm trying to create a function to delete another function.      </p>

<pre><code> def delete_function(func):
    del func
</code></pre>

<p>is what I have so far, but for some reason it doesn't work.</p>

<pre><code>def foo():
    print("foo")
delete_function(foo)
</code></pre>

<p>doesn't seem to do the trick. I know one can do it easily, just</p>

<pre><code>del(foo)
</code></pre>

<p>but I'm trying to do it a different way. How?</p>
