Skip to content

Commit

Permalink
doc: read!(stream or filename, ...)
Browse files Browse the repository at this point in the history
  • Loading branch information
samoconnor committed Jan 14, 2016
1 parent 55f635c commit 8ab65ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions base/docs/helpdb/Base.jl
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ the same object. `fill!(A, Foo())` will return `A` filled with the result of eva
fill!

"""
read!(stream, array::Array)
read!(stream or filename, array::Array)
Read binary data from a stream, filling in the argument `array`.
Read binary data from a stream or file, filling in the argument `array`.
"""
read!

Expand Down
2 changes: 1 addition & 1 deletion doc/stdlib/io-network.rst
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ General I/O
Read a series of values of the given type from a stream, in canonical binary representation. ``dims`` is either a tuple or a series of integer arguments specifying the size of ``Array`` to return.

.. function:: read!(stream, array::Array)
.. function:: read!(stream or filename, array::Array)

.. Docstring generated from Julia source
Expand Down

0 comments on commit 8ab65ee

Please sign in to comment.