def qualified_name(obj):
 if (obj.__name__ == '__builtin__'):
  return obj.__name__
 else:
  return ('%s.%s' % (obj.__module__, obj.__name__))

def qualified_name ( obj ) : if ( obj . __name__ == '__builtin__' ) : return obj . __name__ else : return ( '%s.%s' % ( obj . __module__ , obj . __name__ ) )
return a qualified name for obj .