public string/*!*/ __repr__(CodeContext/*!*/ context) {
object name;
if (!PythonOps.TryGetBoundAttr(context, _func, "__name__", out name)) {
name = "?";
}
if (_inst != null) {
return string.Format("<bound method {0}.{1} of {2}>",
DeclaringClassAsString(),
name,
PythonOps.Repr(context, _inst));
} else {
return string.Format("<unbound method {0}.{1}>", DeclaringClassAsString(), name);
}
}