diff Python/errors.c @ 44038:d44fffda2cd0 legacy-trunk

Expose Py_Py3kWarningFlag as sys.py3kwarning as discussed in #1504 Also added a warning.warnpy3k() as convenient method for Python 3.x related deprecation warnings.
author Christian Heimes <christian@cheimes.de>
date Tue, 27 Nov 2007 23:16:44 +0000
parents 3bc3f12cae28
children 0cbe94bea2c7
line wrap: on
line diff