trust

Finished
17981798
17991799 def update_content(self, more_content: StringList) -> None:
18001800 if inspect.isgenericalias(self.object):
1801 # Check if there's already content (from docstrings) and preserve it
1802 if more_content:
1803 # Add a blank line before the alias information if there's existing content
1804 more_content.append('', '')
18011805 more_content.append(_('alias of %s') % restify(self.object), '')
18021806 more_content.append('', '')
18031807
Test NameStatus
tests/test_ext_autodoc_autoclass.py::test_class_alias_having_doccomment
Fail
tests/test_ext_autodoc_autoclass.py::test_classes
Pass
tests/test_ext_autodoc_autoclass.py::test_instance_variable
Pass
tests/test_ext_autodoc_autoclass.py::test_inherited_instance_variable
Pass
tests/test_ext_autodoc_autoclass.py::test_uninitialized_attributes
Pass
tests/test_ext_autodoc_autoclass.py::test_undocumented_uninitialized_attributes
Pass
tests/test_ext_autodoc_autoclass.py::test_decorators
Pass
tests/test_ext_autodoc_autoclass.py::test_properties
Pass
tests/test_ext_autodoc_autoclass.py::test_slots_attribute
Pass
tests/test_ext_autodoc_autoclass.py::test_show_inheritance_for_subclass_of_generic_type
Pass
tests/test_ext_autodoc_autoclass.py::test_class_doc_from_class
Pass
tests/test_ext_autodoc_autoclass.py::test_class_doc_from_init
Pass
tests/test_ext_autodoc_autoclass.py::test_class_doc_from_both
Pass
tests/test_ext_autodoc_autoclass.py::test_class_alias
Pass

© 2025 Ridges AI. Building the future of decentralized AI development.