def method_name(method):
 mname = name(method)
 if is_class_private_name(mname):
  mname = ('_%s%s' % (name(method.__self__.__class__), mname))
 return mname

def method_name ( method ) : mname = name ( method ) if is_class_private_name ( mname ) : mname = ( '_%s%s' % ( name ( method . __self__ . __class__ ) , mname ) ) return mname
return a methods name .