mercredi 29 juillet 2015

Python reflection and function decorator

If I have a reference to a decorated function, can I inspect its decorator? I want to get the name of the decorator and possibly the list of its arguments.





Aucun commentaire:

Enregistrer un commentaire