Skip to content

Commit fb5761b

Browse files
Merge pull request #2 from KristofferC/master
fix printing of functions in julia 1.2+
2 parents 25ac353 + ef6d4c4 commit fb5761b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DocumentFunction.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function documentfunction(f::Function; location::Bool=true, maintext::String="",
5656
modulename = first(methods(f)).module
5757
stdoutcaptureon()
5858
if maintext != ""
59-
println("**$(f)**\n")
59+
println("**", parentmodule(f), ".", nameof(f), "**\n")
6060
println("$(maintext)\n")
6161
end
6262
ms = getfunctionmethods(f)

0 commit comments

Comments
 (0)