Skip to content

Commit 9255889

Browse files
committed
[doc/tutorial] Add property value notice
1 parent a1fcde1 commit 9255889

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/tutorial.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,11 @@ the Property 'NameCrewMembers'::
544544
>>> print(odmlEX['TheCrew'].properties['NameCrewMembers'].unit)
545545
None
546546

547+
NOTE: 'property.value' will always return a copy! Any direct changes to the
548+
returned list will have no affect on the actual property value. If you want to
549+
make changes to a property value, either use the 'append', 'extend' and 'remove'
550+
methods or assign a new value list to the property.
551+
547552

548553
-------------------------------------------------------------------------------
549554

0 commit comments

Comments
 (0)