def warnpy3k(message, category=None, stacklevel=<NUM_LIT:1>):
if sys.py3kwarning:<EOL><INDENT>if category is None:<EOL><INDENT>category = DeprecationWarning<EOL><DEDENT>warn(message, category, stacklevel+<NUM_LIT:1>)<EOL><DEDENT>
Issue a deprecation warning for Python 3.x related changes.

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