diff options
Diffstat (limited to 'Objects/methodobject.c')
-rw-r--r-- | Objects/methodobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/methodobject.c b/Objects/methodobject.c index d7ba02e..102e577 100644 --- a/Objects/methodobject.c +++ b/Objects/methodobject.c @@ -105,10 +105,10 @@ meth_repr(m) { char buf[200]; if (m->m_self == NULL) - sprintf(buf, "<built-in function '%.80s'>", m->m_name); + sprintf(buf, "<built-in function %.80s>", m->m_name); else sprintf(buf, - "<built-in method '%.80s' of %.80s object at %lx>", + "<built-in method %.80s of %.80s object at %lx>", m->m_name, m->m_self->ob_type->tp_name, (long)m->m_self); return newstringobject(buf); |