Skip to content

Commit

Permalink
Mention rebinding behavior of +=
Browse files Browse the repository at this point in the history
Explicitly mention "rebind", hopefully facilitates search
Ref: https://groups.google.com/d/msg/julia-users/ujxesTieDHU/zWrZNAUHelkJ
  • Loading branch information
jiahao committed Dec 15, 2014
1 parent 3ff5870 commit 9c7a490
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/manual/mathematical-operations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ are::


.. note::
Updating operators may change the type of the variable, since any assignment
statement to a plain variable may change its type.
An updating operator rebinds the variable on the left-hand side.
As a result, the type of the variable may change.

.. doctest::

Expand Down

2 comments on commit 9c7a490

@tkelman
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

docfix, so @JuliaBackports

@tkelman
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

backported in 822a3c4

Please sign in to comment.