mimetools.warnpy3k()

mimetools.warnpy3k(message, category=None, stacklevel=1)[source]

Issue a deprecation warning for Python 3.x related changes.

Warnings are omitted unless Python is started with the -3 option.