f"{f.__module__}.{f.__name__}"
doesn't work because function f
can be local, eg inside another function. We need to add some kind of marked (.<local>.
) in the path to specify that this function is local. But how to determine when we need to add this marker?
Aucun commentaire:
Enregistrer un commentaire