7.3 __xdata__name__ keyword

When inserting a menu in the menu bar, the item is named with the python module name capitalized unless (__xdata__name__) is defined. In python, it is written:

        try:
            xdata_name = module.__xdata__name__
        except AttributeError:
            xdata_name = module.__name__.capitalize()
            pass