2012/10/3 Walter Valenti <span dir="ltr"><<a href="mailto:waltervalenti@yahoo.it" target="_blank">waltervalenti@yahoo.it</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

C'č un modo per rendere implicito il "self" ?</blockquote></div><div><br></div>cosi fai sparire il self...<br><div><br></div><div><div>class A:</div><div>    def do(_, a, b):</div><div>        print a,b</div>

<div>    def call(_):</div><div>        _.do(1, 2)</div><div><br></div><div>A().call()</div></div><div><br></div><div><br></div><div>se ti interessa l'argomento</div><div><a href="http://www.artima.com/weblogs/viewpost.jsp?thread=239003">http://www.artima.com/weblogs/viewpost.jsp?thread=239003</a></div>

<div><br></div><div>IMHO "Explicit is not Redundant"</div><div>:-D</div>