def get_bound_method_class(m):
 return (m.im_class if (sys.version < '3') else m.__self__.__class__)

def get_bound_method_class ( m ) : return ( m . im_class if ( sys . version < '3' ) else m . __self__ . __class__ )
return the class for a bound method .