Skip to content

Commit fd7bf2f

Browse files
authored
Merge pull request #165 from JuliaIO/teh/docstring_formatting
End docstrings triple-quote on own line (fixes formatting)
2 parents a80cf2b + a3d33ac commit fd7bf2f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/query.jl

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ function del_format{sym}(fmt::Type{DataFormat{sym}})
126126
nothing
127127
end
128128

129-
# Deletes mutliple magic bytes
129+
# Deletes multiple magic bytes
130130
del_magic(magic::Tuple, sym) = for m in magic
131131
del_magic(m, sym)
132132
end
@@ -358,7 +358,8 @@ unknown{F}(::Stream{F}) = unknown(F)
358358

359359
"""
360360
`query(filename)` returns a `File` object with information about the
361-
format inferred from the file's extension and/or magic bytes."""
361+
format inferred from the file's extension and/or magic bytes.
362+
"""
362363
function query(filename::AbstractString)
363364
_, ext = splitext(filename)
364365
if haskey(ext2sym, ext)
@@ -394,7 +395,8 @@ hasfunction(s::Tuple) = false #has magic
394395

395396
"""
396397
`query(io, [filename])` returns a `Stream` object with information about the
397-
format inferred from the magic bytes."""
398+
format inferred from the magic bytes.
399+
"""
398400
query(io::IO, filename) = query(io, Nullable(String(filename)))
399401

400402
function query(io::IO, filename::Nullable{String}=Nullable{String}())

0 commit comments

Comments
 (0)