Re: Class methods as callbacks/errbacks
Phil Mayers <[email protected]>
| Newsgroups | gmane.comp.python.twisted.web |
|---|---|
| Message-ID | <[email protected]> |
> Is there an alternative and/or cleaner solution to specify a class > method as a callback or errback? Just pass the instance method directly to addCallback: d.addCallback(someclass.lost_conn)