The Python Oracle

What does the star and doublestar operator mean in a function call?

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game 3 Looping

--

Chapters
00:00 Question
00:35 Accepted answer (Score 1142)
02:24 Answer 2 (Score 26)
03:37 Answer 3 (Score 22)
04:49 Answer 4 (Score 19)
05:44 Thank you

--

Full question
https://stackoverflow.com/questions/2921...

Accepted answer links:
[4.7.4 - Unpacking Argument Lists]: http://docs.python.org/tutorial/controlf...

Answer 4 links:
[documentation]: http://docs.python.org/reference/express...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #syntax #parameterpassing #iterableunpacking #argumentunpacking

#avk47