spec = [('a', float64), ('b', float64), ('c', toto_type)]


@jitclass(spec)
class fifi(object):

    def __init__(self, combis):
        self.a = combis
self.b = 2
self.c = toto(combis)

def mySqrt(self, x):
    s = x
for i in range(self.a):
    s = (s + x / s) / 2.0
return s
How to nest numba jitclass