Today I\'m viewing another\'s code, and saw this:
class A(B): # Omitted bulk of irrelevant code in the class def __init__(self, uid=None): self
cls is the constructor function, it will construct class A and call the __init__(self, uid=None) function.
cls
__init__(self, uid=None)
If you enherit it (with C), the cls will hold 'C', (and not A), see AKX answer.