def init(self): self = super(TinyTextEditorDocument, self).init() self.vanillaWindowController = TinyTextEditorDocumentWindow() self.vanillaWindowController.assignToDocument(self) return self