Skip to content

Commit 0915a0d

Browse files
committed
Further clarifying a sentence in conventions section
1 parent cd81b2e commit 0915a0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contributing/code/conventions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,5 @@ must be used instead (where ``XXX`` is the name of the related thing):
7474

7575
While "setXXX" and "replaceXXX" are very similar, there is one notable
7676
difference: "setXXX" may replace, or add new elements to the relation.
77-
"replaceXXX" on the other hand is specifically forbidden to add new
78-
elements, but must throw an exception in these cases.
77+
"replaceXXX", on the other hand, cannot add new elements. If an unrecognized
78+
key as passed to "replaceXXX" it must throw an exception.

0 commit comments

Comments
 (0)