diff -r 711498bb4ff5 -r 8225bb1f0ad3 mercurial/help.py --- a/mercurial/help.py Mon Jun 23 09:24:06 2014 -0400 +++ b/mercurial/help.py Mon Jun 23 09:24:24 2014 -0400 @@ -404,7 +404,7 @@ # description if not doc: rst.append(" %s\n" % _("(no help text available)")) - if util.safehasattr(doc, '__call__'): + if callable(doc): rst += [" %s\n" % l for l in doc().splitlines()] if not ui.verbose: