3 ms·
> But I don't think ints, strings, or bytes do Everything in CPython is pass-by-reference. But there's no difference between that and pass-by-value for types l
by pansa2 2y ago
> But I don't think ints, strings, or bytes do
Everything in CPython is pass-by-reference. But there's no difference between that and pass-by-value for types like `int` and `str` because they're immutable.