pele-python/pele — pull request #11 by js850 (2013-12-02 11:53:58+00:00)
Title: define assignment operator in Array

The assignment operator, operator=(Array x), copies the data into the this->_data. It will resize the data if the array is empty. This allows syntax like

Array x = Array(20);

but will throw an error for this:

Array x(10);
Array y(20);
x = y; // error