def uppercase_range(code1, code2):
	code3 = max(code1, ord('a'))
	code4 = min(code2, ord('z') + 1)
	if code3 < code4:
		d = ord('A') - ord('a')
		return (code3 + d, code4 + d)
	else:
		return None
If the range of characters from code1 to code2-1 includes any
dataset/ETHPy150Open probcomp/bayeslite/external/plex/dist/Plex/Regexps.py/uppercase_range