<br><br><div><span class="gmail_quote">On 3/12/06, <b class="gmail_sendername">Kent Johnson</b> &lt;<a href="mailto:kent37@tds.net">kent37@tds.net</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br>Danny has given some reasons why this is not useful standard behaviour.<br>If this is a behaviour you need for many functions, you could create a<br>decorator that provides it so you don't have to include the same
<br>boilerplate in each function.<br><br>Decorators are functions that accept a function as an argument and<br>return a new function as a result. Here is a decorator that will unpack<br>a tuple argument:</blockquote><div>
<br>
<br>
Thanks for a great example of what decorators are good for. <br>
<br>
Anna<br>
 </div><br></div><br>