In python, I can use the splat operator to unpack a list and send the list items as arguments to a function
dirs = ['this','is','a','file','path']
path = os.path.join(*dirs)
# path is now 'this/is/a/file/path'
My question is, why is this feature limited to method params?
For example, the following is invalid syntax:
x = [1,2,3]
y = [0,*x,4,5]
Why doesn't this result in [0,1,2,3,4,5]
?