Skip to content

Commit

Permalink
fix constructors.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
pkofod committed May 25, 2016
1 parent 9866e93 commit b9057cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/manual/constructors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ to another, you should probably define a ``convert`` method instead.
On the other hand, if your constructor does not represent a lossless
conversion, or doesn't represent "conversion" at all, it is better
to leave it as a constructor rather than a ``convert`` method. For
example, the ``Array{Int}`` constructor creates a zero-dimensional
example, the ``Array{Int}()`` constructor creates a zero-dimensional
``Array`` of the type ``Int``, but is not really a "conversion" from
``Int`` to an ``Array``.

Expand Down

0 comments on commit b9057cf

Please sign in to comment.