Sun, 05 Nov 2017 13:24:07 +0100
Change code docu viewer definition view so it is shown even for empty argspec.
UI/CodeDocumentationViewerTemplate.py | file | annotate | diff | comparison | revisions |
--- a/UI/CodeDocumentationViewerTemplate.py Sun Nov 05 11:35:32 2017 +0100 +++ b/UI/CodeDocumentationViewerTemplate.py Sun Nov 05 13:24:07 2017 +0100 @@ -86,7 +86,9 @@ .replace("@NAME@", name)\ .replace("@ARGSPEC@", argspec) else: - argspec = "" + argspec = argspecTemplate\ + .replace("@NAME@", name)\ + .replace("@ARGSPEC@", "") if documentationInfo["note"]: note = noteTemplate.replace("@NOTE@", documentationInfo["note"])