#!/usr/local/bin/python2 class B(object): def __new__(cls): self = cls() self.a = 0 return self class C(B): __slots__ = () def __new__(cls): self = super(B, cls).__new__(cls) return self print C()