Skip to content

Commit

Permalink
docstring fix
Browse files Browse the repository at this point in the history
  • Loading branch information
musm committed Oct 5, 2019
1 parent 39ff677 commit 0735675
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions base/path.jl
Original file line number Diff line number Diff line change
Expand Up @@ -246,21 +246,6 @@ function splitpath(p::String)
return out
end

"""
joinpath(parts...) -> AbstractString
Join path components into a full path. If some argument is an absolute path or
(on Windows) has a drive specification that doesn't match the drive computed for
the join of the preceding paths, then prior components are dropped.
# Examples
```jldoctest
julia> joinpath("/home/myuser", "example.jl")
"/home/myuser/example.jl"
```
"""
joinpath

joinpath(path::AbstractString) = path

if Sys.iswindows()
Expand Down Expand Up @@ -323,6 +308,21 @@ end

end # os-test

"""
joinpath(parts...) -> AbstractString
Join path components into a full path. If some argument is an absolute path or
(on Windows) has a drive specification that doesn't match the drive computed for
the join of the preceding paths, then prior components are dropped.
# Examples
```jldoctest
julia> joinpath("/home/myuser", "example.jl")
"/home/myuser/example.jl"
```
"""
joinpath

"""
normpath(path::AbstractString) -> AbstractString
Expand Down

0 comments on commit 0735675

Please sign in to comment.