human
Complete the below
def _make_jsmin(python_only=False):

    ''''Generate JS minifier based on `jsmin.c by Douglas Crockford`_
    .. _jsmin.c by Douglas Crockford:
    http://www.crockford.com/javascript/jsmin.c
    :Parameters:
    `python_only` : ``bool``
    Use only the python variant. If true, the c extension is not even
    tried to be loaded.
    :Return: Minifier
    :Rtype: ``callable``'
    '''

=====
What is a the Python program you requested?
assistant
#Here is the Python program you requested.
    if (not python_only):
        try:
            import _rjsmin
        except ImportError:
            pass
        else:
            return _rjsmin.jsmin
    try:
        xrange
    except NameError:
        xrange = range
    space_chars = '[\\000-\\011\\013\\014\\016-\\040]'
    line_comment = '(?://[^\\r\\n]*)'
    space_comment = '(?:/\\*[^*]*\\*+(?:[^/*][^*]*\\*+)*/)'
    string1 = '(?:\\047[^\\047\\\\\\r\\n]*(?:\\\\(?:[^\\r\\n]|\\r?\\n|\\r)[^\\047\\\\\\r\\n]*)*\\047)'
    string2 = '(?:"[^"\\\\\\r\\n]*(?:\\\\(?:[^\\r\\n]|\\r?\\n|\\r)[^"\\\\\\r\\n]*)*")'
    strings = ('(?:%s|%s)' % (string1, string2))
    charclass = '(?:\\[[^\\\\\\]\\r\\n]*(?:\\\\[^\\r\\n][^\\\\\\]\\r\\n]*)*\\])'
    nospecial = '[^/\\\\\\[\\r\\n]'
    regex = ('(?:/(?![\\r\\n/*])%s*(?:(?:\\\\[^\\r\\n]|%s)%s*)*/)' % (nospecial, charclass, nospecial))
    space = ('(?:%s|%s)' % (space_chars, space_comment))
    newline = ('(?:%s?[\\r\\n])' % line_comment)
    def fix_charclass(result):
        '    Fixup    string    of    chars    to    fit    into    a    regex    char    class    '
        pos = result.find('-')
        if (pos >= 0):
            result = ('%s%s-' % (result[:pos], result[(pos + 1):]))
        def sequentize(string):
            '\n                                                Notate    consecutive    characters    as    sequence\n\n                                                (1-4    instead    of    1234)\n                                                '
            (first, last, result) = (None, None, [])
            for char in map(ord, string):
                if (last is None):
                    first = last = char
                elif ((last + 1) == char):
                    last = char
                else:
                    result.append((first, last))
                    first = last = char
            if (last is not None):
                result.append((first, last))
            return ''.join([('%s%s%s' % (chr(first), (((last > (first + 1)) and '-') or ''), (((last != first) and chr(last))...