def _funcOfMethod(methodObject):
 if _PY3:
  return methodObject.__func__
 return methodObject.im_func

def _funcOfMethod ( methodObject ) : if _PY3 : return methodObject . __func__ return methodObject . im_func
get the associated function of the given method object .