Python: How to get unspecified argument names (*args) inside a function

后端 未结 0 1315
花落未央
花落未央 2021-01-19 04:20

The function below receives dictionaries as arguments.

def func(*args):
    #print names of arguments that will be passed into the function

> d1, d2 = {..         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题