[Python-checkins] r63142 - peps/trunk/pep-3108.txt
brett.cannon
python-checkins at python.org
Mon May 12 04:48:04 CEST 2008
Author: brett.cannon
Date: Mon May 12 04:48:04 2008
New Revision: 63142
Log:
Note that the warnings should be the first thing in the module.
Modified:
peps/trunk/pep-3108.txt
Modified: peps/trunk/pep-3108.txt
==============================================================================
--- peps/trunk/pep-3108.txt (original)
+++ peps/trunk/pep-3108.txt Mon May 12 04:48:04 2008
@@ -927,8 +927,9 @@
/////////////
#. Add the following code to the deprecated module if it is
- implemented in Python (adjusting the
- module name and the ``warnings`` import and needed)::
+ implemented in Python as the first piece of executed code
+ (adjusting the module name and the ``warnings`` import and
+ needed)::
from warnings import warnpy3k
warnpy3k("the XXX module has been removed in Python 3.0",
More information about the Python-checkins
mailing list