3 ms·
I wrote "sometimes", because some implementation might JIT the code where a parameter is always an `int` and pass it in unboxed as the value itself (would be al
by viraptor 17y ago
I wrote "sometimes", because some implementation might JIT the code where a parameter is always an `int` and pass it in unboxed as the value itself (would be allowed due to no mutability). But yes - in "normal" python, it's always a reference.
- devinj 17y agoIn "Python", period. Implementation details don't affect statements about the language!