diff --git a/src/caosdb/common/models.py b/src/caosdb/common/models.py index 30009f8f7eb3f35c097d74c428ce74eda37e1130..0a2eec19604ecf297c0126e7b081d2073314754f 100644 --- a/src/caosdb/common/models.py +++ b/src/caosdb/common/models.py @@ -466,15 +466,13 @@ class Entity: Notes ----- If the property value is a list and the value to be removed occurs more - than once in this list, only it's first occurrance is deleted (similar + than once in this list, only its first occurrance is deleted (similar to the behavior of Python's ``list.remove()``.) If the property is already empty and a value != None is to be removed, the property is not removed afterwards even if - ``remove_if_empty_afterwards`` is set to ``True`` (since it hasn't been - emptied **because** this function was called but rather didn't have a - value in the first place). This changes if the value to be removed is - set to ``None`` explicitly. + ``remove_if_empty_afterwards`` is set to ``True`` (the property being + empty is not an effect of calling this function). Parameters ----------