Skip to content

Commit

Permalink
doc/stdlib/base: small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
carlobaldassi committed Nov 8, 2013
1 parent 664c8f1 commit 5fc993a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
10 changes: 7 additions & 3 deletions doc/helpdb.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1389,7 +1389,7 @@
Similar to \"search\", but returning the last occurance of the
given characters within the given string, searching in reverse from
>>``<<start.''.
\"start\".
"),

Expand Down Expand Up @@ -5423,7 +5423,11 @@ popdisplay(d::Display)
all combinations of integers in the ranges \"1:m\", \"1:n\", etc.
Example:
julia> cartesianmap(println, (2,2)) 11 21 12 22
julia> cartesianmap(println, (2,2))
11
21
12
22
"),

Expand Down Expand Up @@ -6483,7 +6487,7 @@ popdisplay(d::Display)
Used in a stream redirect to discard all data written to it.
Essentially equivalent to /dev/null on Unix or NUL on Windows.
Usage: run(*cat test.txt* >>|<<> DevNull)
Usage: \"run(`cat test.txt` |> DevNull)\"
"),

Expand Down
16 changes: 8 additions & 8 deletions doc/stdlib/base.rst
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@ Strings

.. function:: rsearch(string, chars, [start])

Similar to ``search``, but returning the last occurance of the given characters within the given string, searching in reverse from ``start.''.
Similar to ``search``, but returning the last occurance of the given characters within the given string, searching in reverse from ``start``.

.. function:: searchindex(string, substring, [start])

Expand Down Expand Up @@ -1886,7 +1886,7 @@ Memory-mapped I/O
Standard Numeric Types
----------------------

``Bool`` ``Int8`` ``Uint8`` ``Int16`` ``Uint16`` ``Int32`` ``Uint32`` ``Int64`` ``Uint64`` ``Float32`` ``Float64`` ``Complex64`` ``Complex128``
``Bool`` ``Int8`` ``Uint8`` ``Int16`` ``Uint16`` ``Int32`` ``Uint32`` ``Int64`` ``Uint64`` ``Int128`` ``Uint128`` ``Float16`` ``Float32`` ``Float64`` ``Complex64`` ``Complex128``

.. _mathematical-operators:

Expand Down Expand Up @@ -3627,11 +3627,11 @@ Array functions
Given a ``dims`` tuple of integers ``(m, n, ...)``, call ``f`` on all combinations of
integers in the ranges ``1:m``, ``1:n``, etc. Example::

julia> cartesianmap(println, (2,2))
11
21
12
22
julia> cartesianmap(println, (2,2))
11
21
12
22

BitArrays
~~~~~~~~~
Expand Down Expand Up @@ -4428,7 +4428,7 @@ System
.. data:: DevNull

Used in a stream redirect to discard all data written to it. Essentially equivalent to /dev/null on Unix or NUL on Windows.
Usage: run(`cat test.txt` |> DevNull)
Usage: ``run(`cat test.txt` |> DevNull)``

.. function:: success(command)

Expand Down

0 comments on commit 5fc993a

Please sign in to comment.