diff --git a/docs/extensions/attributetable.py b/docs/extensions/attributetable.py index 234f944fa..548d87a47 100644 --- a/docs/extensions/attributetable.py +++ b/docs/extensions/attributetable.py @@ -107,7 +107,8 @@ def build_lookup_table(env): ignored = { 'data', 'exception', 'module', 'class', } - for (fullname, (docname, objtype)) in domain.objects.items(): + + for (fullname, _, objtype, docname, _, _) in domain.get_objects(): if objtype in ignored: continue