Commits

Anonymous committed 8586d5c

Quick fix for None return.

  • Participants
  • Parent commits b1c0641

Comments (0)

Files changed (1)

File sphinx/ext/autodoc.py

                                        inherited, undoc, None, document, lineno,
                                        indent, check_module=members_check_module)
         warnings.extend(subwarn)
-        result.extend(subres)
+        if subres is not None:
+            result.extend(subres)
 
     env.autodoc_current_module = None
     env.autodoc_current_class = None