I am not sure if it is possible. But suppose I have some python class with constructor as follows:
class SomeClass(object):
def __init__(self, *args):
pass
# here I want to iterate over args
# get name of each arg
Suppose I use this class somewhere and create an instance of it:
some_var = SomeClass(user, person, client, doctor)
What I mean by get name of arg, is to get names ('user', 'person', 'client' and 'doctor')
I really mean just get string name of a argument. Where user, person etc. are some python objects with their attributes etc, but I only need the name of how these variables (objects) are named.