Referring to Special Parameter Symbols
00:00 How would you call those—operators? I’m not sure. It’s a good question. Let’s see what the docs say.
00:10 “Positional-only,” maybe. The last time I looked at it, I was looking at the Control Flow section … Control Flow Tools …
00:21 That’s what they call them: special parameters, it seems. Huh, symbols it seems like they’re calling them. Symbols. Okay. Yeah, it’s probably good so that you don’t confuse them with actual operators because they are operators in different contexts, but not if you put them in here in the function definition. Yeah, it can be confusing because it does look like it could be an argument to this function, but it’s really just a way to affect how you can call this function.
00:50
And here it’s interesting, it says how the arguments may be passed to the function: positional-only, positional or keyword, and keyword-only. Which is what you showed with the combined()
function before. Right, yeah.
Become a Member to join the conversation.