Skip to content

Commit 6675692

Browse files
jxmallettxabbuh
authored andcommitted
Clarify by_reference use
1 parent bc046f0 commit 6675692

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

reference/forms/types/options/by_reference.rst.inc

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ by_reference
33

44
**type**: ``boolean`` **default**: ``true``
55

6-
In most cases, if you have a ``name`` field, then you expect ``setName()``
7-
to be called on the underlying object. In some cases, however, ``setName()``
8-
may *not* be called. Setting ``by_reference`` ensures that the setter is
6+
In most cases, if you have an ``author`` field, then you expect ``setAuthor()``
7+
to be called on the underlying object. In some cases, however, ``setAuthor()``
8+
may *not* be called. Setting ``by_reference`` to ``false`` ensures that the setter is
99
called in all cases.
1010

1111
To explain this further, here's a simple example::

0 commit comments

Comments
 (0)