Skip to content

Commit 4ea04f2

Browse files
kenodegardAWhetter
authored andcommitted
Ensure tooltip is always a str
1 parent 9d970a6 commit 4ea04f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoapi/inheritance_diagrams.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def recurse(cls):
8686
tooltip = '"%s"' % doc.replace('"', '\\"')
8787

8888
baselist = []
89-
all_classes[cls] = (nodename, fullname, baselist, tooltip)
89+
all_classes[cls] = (nodename, fullname, baselist, tooltip or "")
9090

9191
if fullname in top_classes:
9292
return

0 commit comments

Comments
 (0)