In python, how to call a function C nested under another function B inside a class A from outside of the class.
>>> class A:
... def funcB(self):
... print('inside funcB')
... def funcC(self):
... print('hello world')
...
>>> a=A()
>>> c=a.funcB()
inside funcB
>>> c=a.funcB.funcC()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'function' object has no attribute 'funcC'