Skip to content

Commit

Permalink
Add spaces after commas in methodshow
Browse files Browse the repository at this point in the history
This is meant to supercede JuliaLang#4957, where the outcome seemed to be

> I like the extra spaces but the color issue is too much of a bikeshed.

  -- @JeffBezanson

I am being fairly conservative in that I added spaces *only* to the method table.

Closes JuliaLang#4957.
  • Loading branch information
garrison authored and tkelman committed Jun 6, 2015
1 parent 39d480d commit 04cae1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/methodshow.jl
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function show(io::IO, m::Method)
end
print(io, "(")
print_joined(io, [isempty(d[2]) ? d[1] : d[1]*"::"*d[2] for d in decls],
",", ",")
", ", ", ")
print(io, ")")
if line > 0
print(io, " at ", file, ":", line)
Expand Down Expand Up @@ -119,7 +119,7 @@ function writemime(io::IO, ::MIME"text/html", m::Method)
end
print(io, "(")
print_joined(io, [isempty(d[2]) ? d[1] : d[1]*"::<b>"*d[2]*"</b>"
for d in decls], ",", ",")
for d in decls], ", ", ", ")
print(io, ")")
if line > 0
u = url(m)
Expand Down

0 comments on commit 04cae1f

Please sign in to comment.