4 ms·
While Python works by passing object references, it is not call-by-reference as that term is usually understood. Call-by-reference means that assignment within
by mistercow 14y ago
While Python works by passing object references, it is not call-by-reference as that term is usually understood. Call-by-reference means that assignment within a function will be seen in the calling scope. That does not happen in Python.