Skip to content

Commit d5a96b5

Browse files
author
Christopher Doris
committed
adds nullary pyhelp
1 parent 3e784b6 commit d5a96b5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/abstract/builtins.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@ pyprint(args...; kwargs...) = (pydel!(pybuiltins.print(args...; kwargs...)); not
99
export pyprint
1010

1111
"""
12-
pyhelp(x)
12+
pyhelp([x])
1313
1414
Equivalent to `help(x)` in Python.
1515
"""
16+
pyhelp() = (pydel!(pybuiltins.help()); nothing)
1617
pyhelp(x) = (pydel!(pybuiltins.help(x)); nothing)
1718
export pyhelp
1819

0 commit comments

Comments
 (0)