Skip to content

Commit

Permalink
Modify whos()
Browse files Browse the repository at this point in the history
  • Loading branch information
malmaud committed Jan 13, 2017
1 parent 0f38766 commit a6f2788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/interactiveutil.jl
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ function whos(io::IO=STDOUT, m::Module=current_module(), pattern::Regex=r"")
value = getfield(m, v)
@printf head "%30s " s
try
if s ("Base", "Main", "Core")
if value (Base, Main, Core)
print(head, " ")
else
bytes = summarysize(value)
Expand Down

0 comments on commit a6f2788

Please sign in to comment.