#!/usr/local/bin/python2 class D(dict): def __init__(self, *args, **kargs): super(D, self).__init__(self, *args, **kargs) d = D(self=1) print d