pdoc - fallback to "builtin" again

This commit is contained in:
2025-03-21 13:53:23 +01:00
parent eccdf4f536
commit abd66da607

@ -218,7 +218,7 @@ let
write "<td>$( write "<td>$(
python -c ' python -c '
import '"$LITERAL"' as x; 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 ' | jq -Rr @html
)" )"
else else