def _parse_api_name(self, api_names): """ Remove API pattern 'API' and appendix 'MSG' """ short_api_name = [] for api in api_names: if api.endswith('Msg'): short_api_name.append(api[3:-3]) short_api_name.sort() return short_api_name
def _parse_api_name(self, api_names): ''' Remove API pattern 'API' and appendix 'MSG' ''' short_api_name = [] for api in api_names: if api.endswith('Msg'): short_api_name.append(api[3:-3]) short_api_name.sort() return short_api_name