

def __str__(self):
    keys = set()
    cur = self
    while cur:
        keys.update(cur.table.keys())
        cur = getattr(cur, 'parent', None)
    keys = list(keys)
    keys.sort()
    return '\n'.join([('%r %r' % (x, self.__getitem__(x))) for x in keys])

dataset/ETHPy150Open appcelerator-archive/poc-nodejs-desktop/Resources/nodejs/builds/linux/node/lib/node/wafadmin/Environment.py Environment.__str__/original