4 ms·
no, default parameter should not be evaluated every time the function gets called. current behavior is totally fine. it is well defined that somelist.append(x)
by the1 13y ago
no, default parameter should not be evaluated every time the function gets called.
current behavior is totally fine. it is well defined that somelist.append(x) appends x to somelist inplace.