Is there a way to make a user-defined Python function act like a built-in statement?
<p>Is it possible to make a user-defined Python function act like a statement? In other words, I'd like to be able to say:</p>

<pre><code>myfunc
</code></pre>

<p>rather than:</p>

<pre><code>myfunc()
</code></pre>

<p>and have it get called anyway -- the way that, say, <code>print</code> would.</p>

<p>I can already hear you all composing responses about how this is a horrible thing to do and I'm stupid for asking it and why do I want to do this and I really should do something else instead, but please take my word that it's something I need to do to debug a problem I'm having and it's not going to be checked in or used for, like, an air traffic control system.</p>
