Talk:Shift list elements to left by 3

From Rosetta Code

Pylint suggestions for current Python draft

Pylint flags up (inter alia) the point that `list` is a predefined name (for the list constructor function) in Python. Perhaps worth using an alternative name, to avoid confusion ?

( That might also, on reflection, make it a little easier to extend those functions to allow for arguments of type `range(m, n)`, in addition to the arguments of type `list`, to which I think they are restricted at the moment. You would need the eponymous Python list() function to make the conversions from ranges ).

Hout (talk) 10:49, 20 March 2021 (UTC)