def METHOD_NAME(self, n, comment=True):
    if isinstance(n, (str, bytes, list, tuple, dict)):
        r = repr(n)
        if not comment:  # then it can be inside a comment!
            r = r.replace('*/', r'\x2a/')
        return r
    if not isinstance(n, six.integer_types):
        return n
    if isinstance(n, constants.Constant):
        if comment: return '%s /* %s */' % (n,self.METHOD_NAME(int(n)))
        else:       return '%s (%s)'     % (n,self.METHOD_NAME(int(n)))
    elif abs(n) < 10:
        return '%d' % n
    else:
        return '%#x' % n