It is in fact an import problem. My module works fine by itself with
a test case in if __name__ == '__main__', but I have a problem when
using it within another module when both are underdevelopment.
Changing the reload order solves the problem.
This is bad:
import texpy, os, pytex
reload(texpy)
Ryan Krauss wrote:
> I am trying to call a parent's __init__ method from the child's:
>
> class ArbitraryBlock(InnerBlock):
> def __init__(self, codelist, noout=False, **kwargs):
> InnerBlock.__init__(self, codelist, noout=noout, **kwargs)
>
>
> I get this error:
>
> : unbound meth
On Thu, Aug 7, 2008 at 11:11 AM, Ryan Krauss <[EMAIL PROTECTED]> wrote:
> I am trying to call a parent's __init__ method from the child's:
This works for me just fine:
class InnerBlock(object):
def __init__(self, codelist, noout=False, **kwargs):
self.codelist = codelist
self.