diff --git a/src/rougail/annotator.py b/src/rougail/annotator.py index e3c9f18aa..08d9e502f 100644 --- a/src/rougail/annotator.py +++ b/src/rougail/annotator.py @@ -113,7 +113,7 @@ class ServiceAnnotator: def convert_service_to_family(self, service_name, service_family, service): for elttype, values in vars(service).items(): - if elttype in ['name', 'index']: + if elttype in ['name', 'index', 'method']: continue family = self.objectspace.family() family.name = elttype + 's' diff --git a/src/rougail/data/rougail.dtd b/src/rougail/data/rougail.dtd index 4dc3ef58e..22495198e 100644 --- a/src/rougail/data/rougail.dtd +++ b/src/rougail/data/rougail.dtd @@ -68,7 +68,7 @@ - +