Why operations such as
[1, 2].append(3)
{1, 2, 3}.remove(2)
silently return None in Python with no diagnostics? So one has to use variables like
a = [1, 2]
a.append(3)
How can that be explained?
Why operations such as
[1, 2].append(3)
{1, 2, 3}.remove(2)
silently return None in Python with no diagnostics? So one has to use variables like
a = [1, 2]
a.append(3)
How can that be explained?