chiark / gitweb /
documentation/python: AAAAHHHH.
authorVladimír Vondruš <mosra@centrum.cz>
Wed, 28 Aug 2019 16:08:38 +0000 (18:08 +0200)
committerVladimír Vondruš <mosra@centrum.cz>
Fri, 30 Aug 2019 14:47:58 +0000 (16:47 +0200)
The test failure from the previous commit is no more.

documentation/python.py

index 0244abb38840adcdcce84f5f4b3c024eedef8bf7..1044c6deb41db3b9470f71a3b5cbbba89a997235 100755 (executable)
@@ -1025,7 +1025,7 @@ def extract_module_doc(state: State, entry: Empty):
     out = Empty()
     out.url = entry.url
     out.name = entry.path[-1]
-    out.summary = extract_docs(state, state.class_docs, entry.type, entry.path, entry.object.__doc__, summary_only=True)
+    out.summary = extract_docs(state, state.module_docs, entry.type, entry.path, entry.object.__doc__, summary_only=True)
     return out
 
 def extract_class_doc(state: State, entry: Empty):