<div dir="ltr"><div>Hi Terry,</div>
<div> </div>
<div>Thanks for your reply. But the reason I want to have that is for not changing the functions which already based on translation functions.</div>
<div> </div>
<div>If there is any idea how to bring parameter in static method, that will be great.</div>
<div> </div>
<div>Wei<br></div>
<div class="gmail_quote">On Wed, Oct 8, 2008 at 8:24 PM, Terry Reedy <span dir="ltr"><<a href="mailto:tjreedy@udel.edu">tjreedy@udel.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="Ih2E3d">Wei Guo wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Chris,<br> Thanks a lot for reply, you are right. I want to use this method as a static method as:<br> translation = staticmethod( translation )<br>
</blockquote><br></div>static methods are mostly useless in Python.  Just put the definition of translation outside of any class. 
<div>
<div></div>
<div class="Wj3C7c"><br><br>--<br><a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br></div></div></blockquote></div><br></div>