Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
314 views
in Technique[技术] by (71.8m points)

decorator - Meaning of a list in the function call

For the below function call (that contains a decorator), what is the meaning of the list [var_A, var_B] in between the function name and function parameters?

myfunction[var_A, var_B](var1, var2)

I've never seen a function called like this, with what looks like an extra set of parameters.

question from:https://stackoverflow.com/questions/65831878/meaning-of-a-list-in-the-function-call

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...