def unparse(self, root, projectname='', disable_comments=False, parseinfo=None):
        if root is None:
            return None
        try:
            self.version = int(root.get('objectVersion'))
        except __HOLE__:
            return None
        self.outputbuffer = []

        if projectname is not None:
            projectname = decode_utf8_or_sys(projectname)
        self.projectname = projectname

        self.disable_comments = disable_comments
        self.last_userhash = None
        self.set_comment_handling(disable_comments, parseinfo)

        self.create_lookup_tables()
        self.print_root(root, indent=0)
        return self.getoutput()
dataset/ETHPy150Open mikr/xcodeprojer/xcodeprojer.py/Unparser.unparse