pdoc - fallback to "builtin" again
This commit is contained in:
parent
eccdf4f536
commit
abd66da607
@ -218,7 +218,7 @@ let
|
||||
write "<td>$(
|
||||
python -c '
|
||||
import '"$LITERAL"' as x;
|
||||
print(getattr(x, "__doc__", "builtin").split("\n", 1)[0])
|
||||
print(getattr(x, "__doc__", "builtin").split("\n", 1)[0] or "builtin")
|
||||
' | jq -Rr @html
|
||||
)"
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user