1import warnings23try:4import StringIO5except ImportError:6import io as StringIO78try:9from cStringIO import StringIO as cStringIO10except ImportError:11cStringIO = None121314def u(s):15warnings.warn(16(17"This helper function is no longer relevant in Python 3. "18"Usage of this alias should be discontinued as it will be "19"removed in a future release of Requests."20),21DeprecationWarning,22)23return s