def getlower(char_ord, flags):
    if (char_ord < 128) or (flags & SRE_FLAG_UNICODE) \
                              or (flags & SRE_FLAG_LOCALE and char_ord < 256):
        #return ord(unichr(char_ord).lower())
        return ord(chr(char_ord).lower())
    else:
        return char_ord
dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/_sre.py/getlower/original