Skip to content

Instantly share code, notes, and snippets.

@dreid
Created March 9, 2012 23:17
Show Gist options
  • Save dreid/2009240 to your computer and use it in GitHub Desktop.
Save dreid/2009240 to your computer and use it in GitHub Desktop.
handle the fully qualified names method descriptors.
def fullyQualifiedName(obj):
if inspect.ismethoddescriptor(obj):
objclass = fullyQualifiedName(obj.__objclass__)
return '%s.%s' % (objclass, obj.__name__)
return txFullyQualifiedName(obj)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment