Skip to content

Commit e7b0d52

Browse files
JeffBezansonKristofferC
authored andcommitted
restore pathsep() and old sig of print_matrix_vdots for backwards compat (#34314)
1 parent 76702e8 commit e7b0d52

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

base/arrayshow.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ but it also repeated every M elements if desired.
122122
"""
123123
function print_matrix_vdots(io::IO, vdots::AbstractString,
124124
A::Vector, sep::AbstractString, M::Integer, m::Integer,
125-
pad_right::Bool)
125+
pad_right::Bool = true)
126126
for k = 1:length(A)
127127
w = A[k][1] + A[k][2]
128128
if k % M == m

base/path.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,9 @@ function splitext(path::String)
198198
a*m.captures[1], String(m.captures[2])
199199
end
200200

201+
# NOTE: deprecated in 1.4
202+
pathsep() = path_separator
203+
201204
"""
202205
splitpath(path::AbstractString) -> Vector{String}
203206

0 commit comments

Comments
 (0)