Changes between Initial Version and Version 1 of Ticket #23821, comment 8


Ignore:
Timestamp:
Sep 10, 2017, 8:01:26 PM (5 years ago)
Author:
mantepse
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23821, comment 8

    initial v1  
    1818        ClonableArray.__init__(self, parent, children, check=check)
    1919}}}
    20 If I'm reading the last `if` statement correctly, it makes sure that `children` as passed to `ClonableArray.__init__` is a list of elements of the correct class and with the correct parent.  But then an `elif` would be correct, wouldn't it?
     20If I'm reading the last `if` statement correctly, it makes sure that `children` as passed to `ClonableArray.__init__` is a list of elements of the correct class and with the correct parent.  But then an `elif` would be correct, wouldn't it?  (except that we would have to initialise `children` differently in the lines before)