Skip to content

Commit

Permalink
Update varinfo() docstring signature
Browse files Browse the repository at this point in the history
The default for `m` is no longer `Main`.
  • Loading branch information
mgkuhn committed May 10, 2023
1 parent e204e20 commit 4ed2e5b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion stdlib/InteractiveUtils/src/InteractiveUtils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ include("macros.jl")
include("clipboard.jl")

"""
varinfo(m::Module=Main, pattern::Regex=r""; all::Bool = false, imported::Bool = false, recursive::Bool = false, sortby::Symbol = :name, minsize::Int = 0)
varinfo(m::Module=Base.active_module(), pattern::Regex=r"";
all::Bool = false, imported::Bool = false, recursive::Bool = false,
sortby::Symbol = :name, minsize::Int = 0)
Return a markdown table giving information about exported global variables in a module, optionally restricted
to those matching `pattern`.
Expand Down

0 comments on commit 4ed2e5b

Please sign in to comment.