We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {...
"" from inspect import getmodule _scope = getmodule(f).__name__ # guess that function is a method of it's class try: if f.__name__ in dir(args[0].__class__): _scope += '.' + args[0].__class__.__name__ _scope += '.' + f.__name__ else: _scope += '.' + ...