Skip to content

Commit

Permalink
Merge pull request JuliaLang#17236 from 0/docbackslash
Browse files Browse the repository at this point in the history
Add missing backslashes in readdlm docstrings
  • Loading branch information
tkelman authored Jul 2, 2016
2 parents 34fbf83 + 85e6f79 commit 6e7b519
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions base/docs/helpdb/Base.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3643,14 +3643,14 @@ readdlm(source, delim::Char, eol::Char)
"""
readdlm(source, delim::Char, T::Type; options...)
The end of line delimiter is taken as `n`.
The end of line delimiter is taken as `\\n`.
"""
readdlm(source, delim::Char, T::Type)

"""
readdlm(source, delim::Char; options...)
The end of line delimiter is taken as `n`. If all data is numeric, the result will be a
The end of line delimiter is taken as `\\n`. If all data is numeric, the result will be a
numeric array. If some elements cannot be parsed as numbers, a heterogeneous array of
numbers and strings is returned.
"""
Expand All @@ -3660,15 +3660,15 @@ readdlm(source, delim::Char)
readdlm(source, T::Type; options...)
The columns are assumed to be separated by one or more whitespaces. The end of line
delimiter is taken as `n`.
delimiter is taken as `\\n`.
"""
readdlm(source, T::Type)

"""
readdlm(source; options...)
The columns are assumed to be separated by one or more whitespaces. The end of line
delimiter is taken as `n`. If all data is numeric, the result will be a numeric array. If
delimiter is taken as `\\n`. If all data is numeric, the result will be a numeric array. If
some elements cannot be parsed as numbers, a heterogeneous array of numbers and strings
is returned.
"""
Expand Down
8 changes: 4 additions & 4 deletions doc/stdlib/io-network.rst
Original file line number Diff line number Diff line change
Expand Up @@ -588,25 +588,25 @@ Text I/O

.. Docstring generated from Julia source
The end of line delimiter is taken as ``n``\ .
The end of line delimiter is taken as ``\n``\ .

.. function:: readdlm(source, delim::Char; options...)

.. Docstring generated from Julia source
The end of line delimiter is taken as ``n``\ . If all data is numeric, the result will be a numeric array. If some elements cannot be parsed as numbers, a heterogeneous array of numbers and strings is returned.
The end of line delimiter is taken as ``\n``\ . If all data is numeric, the result will be a numeric array. If some elements cannot be parsed as numbers, a heterogeneous array of numbers and strings is returned.

.. function:: readdlm(source, T::Type; options...)

.. Docstring generated from Julia source
The columns are assumed to be separated by one or more whitespaces. The end of line delimiter is taken as ``n``\ .
The columns are assumed to be separated by one or more whitespaces. The end of line delimiter is taken as ``\n``\ .

.. function:: readdlm(source; options...)

.. Docstring generated from Julia source
The columns are assumed to be separated by one or more whitespaces. The end of line delimiter is taken as ``n``\ . If all data is numeric, the result will be a numeric array. If some elements cannot be parsed as numbers, a heterogeneous array of numbers and strings is returned.
The columns are assumed to be separated by one or more whitespaces. The end of line delimiter is taken as ``\n``\ . If all data is numeric, the result will be a numeric array. If some elements cannot be parsed as numbers, a heterogeneous array of numbers and strings is returned.

.. function:: writedlm(f, A, delim='\\t')

Expand Down

0 comments on commit 6e7b519

Please sign in to comment.