diff --git a/docs/Project.toml b/docs/Project.toml index 4ea8f824..cf550fa3 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -1,3 +1,6 @@ [deps] Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" PythonCall = "6099a3de-0909-46bc-b1f4-468b9a2dfc0d" + +[compat] +Documenter = "0.27" # TODO: upgrade to v1 diff --git a/src/abstract/builtins.jl b/src/abstract/builtins.jl index 3574472e..23a648d3 100644 --- a/src/abstract/builtins.jl +++ b/src/abstract/builtins.jl @@ -8,16 +8,16 @@ Equivalent to `print(...)` in Python. pyprint(args...; kwargs...) = (pydel!(pybuiltins.print(args...; kwargs...)); nothing) export pyprint -""" - pyhelp([x]) - -Equivalent to `help(x)` in Python. -""" function _pyhelp(args...) pyisnone(pybuiltins.help) && error("Python help is not available") pydel!(pybuiltins.help(args...)) nothing end +""" + pyhelp([x]) + +Equivalent to `help(x)` in Python. +""" pyhelp() = _pyhelp() pyhelp(x) = _pyhelp(x) export pyhelp