noob question: "TypeError" wrong number of args
bruno at modulix
onurb at xiludom.gro
Fri May 5 05:00:05 EDT 2006
Edward Elliott wrote:
> bruno at modulix wrote:
>
>>Edward Elliott wrote:
>>
>>>Ah, well then, there's no need for a full-blown parser. It should
>>>suffice to recognize a class definition and modify the parameter list of
>>>every def indented one level further than that.
>>
>>won't do :
>>
>>class CounterExample(object):
>> if compute_some_const_according_to_phase_of_moon():
>> def meth(...):
>> do_something(self, 42)
>
>
> Uuuhhhhnn, you got me pardner. (cough, cough) my hands, they're so cold.
> bruno? where'd you go, bruno? i can't see you anymore. are we back on
> the farm? tell ma i love her. (clunk)
>
"We'll remember you foreeeeeever Eddy..."
--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb at xiludom.gro'.split('@')])"
More information about the Python-list
mailing list