tkinterでMyDialogクラスなんか作るとき

class MyDialog():
__init__(self, root):
__self.root = root

がよくあるパターンだと思うんですが
これをする理由はなんですか?