Re: unbound methods

2006-08-12 Thread Peter Otten
[EMAIL PROTECTED] wrote: > I wrote a small class today at work playing with sockets in command > line windows. When attempting to call the handle function, I get a > TypeError. "Unbound method handle() must be called with connection > instance as first argument (got nothing instead). Any suggest

Re: unbound methods

2006-08-12 Thread Marc 'BlackJack' Rintsch
In <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote: > I wrote a small class today at work playing with sockets in command > line windows. When attempting to call the handle function, I get a > TypeError. "Unbound method handle() must be called with connection > instance as first argument (got nothin