def _add_group_remover(self):
        def _remove_choice_group(obj):
            for tagname in self._member_nsptagnames:
                obj.remove_all(tagname)

        _remove_choice_group.__doc__ = (
            'Remove the current choice group child element if present.'
        )
        self._add_to_class(
            self._remove_choice_group_method_name, _remove_choice_group
        )
Add a ``_remove_eg_x()`` method to the element class for this choice
dataset/ETHPy150Open python-openxml/python-docx/docx/oxml/xmlchemy.py/ZeroOrOneChoice._add_group_remover