Good evening,<div><br></div><div></div><div class="gmail_quote">2012/1/9 <span dir="ltr"><<a href="mailto:pasparis@noos.fr">pasparis@noos.fr</a>></span><br><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<u></u><div>I am trying to send a tuple to a method of a python class and I got a Run failed from netbeans compiler<br>when I want to send a tuple to a simple method in a module it works,when I want to send a simple parameter to a method of a clas it works also but not a tuple to a method of a class</div>
</blockquote><div><br></div><div>This mailing list is for the development *of* python.</div><div>For development *with* python, please ask your questions on the comp.lang.python group or the <a href="mailto:python-list@python.org">python-list@python.org</a> mailing list.</div>
<div>There you will find friendly people willing to help.</div><div><br></div></div><div>[for your particular question: keep in mind that PyObject_Call takes arguments as a tuple;</div><div>if you want to pass one tuple, you need to build a 1-tuple around your tuple]</div>
<div><br></div><div><div class="gmail_quote">-- </div>Amaury Forgeot d'Arc<br>
</div>