Acessando uma função dentro de uma função (função aninhada?) [Duplicado]

Esta pergunta já tem uma resposta aqui:

Como acessar uma função dentro de uma função? 4 respostas

Python noob aqui. Como obter a função 'interna' dentro da função 'fib'?

from time import sleep

class Fibonacci(object):

    def __init__(self, a, b, limit=50):
        self.a = a
        self.b = b
        self.limit = limit

    def fib(self):

        while self.a < self.limit:
            c = self.a + self.b
            sleep(1)
            print self.a,
            self.b = self.a
            self.a = c

        def inner(self):
            print 'Damn it! Just print already!'


j = Fibonacci(0,1,2)
j.fib()

## This doesn't work. Gives an "AttibuteError: 'function' object has no attribute 'inner'"
j.fib.inner()

questionAnswers(5)

yourAnswerToTheQuestion