class A: def foo(self): return __class__ #