struktur python seperti c

class test(object):
    __slots__ = ['a', 'next']

x = test()
x.next = x
x.a = 42
Obnoxious Oystercatcher