[Python-checkins] r63027 - python/trunk/Modules/dlmodule.c

brett.cannon python-checkins at python.org
Sun May 11 03:09:32 CEST 2008


Author: brett.cannon
Date: Sun May 11 03:09:32 2008
New Revision: 63027

Log:
Flesh out the 3.0 deprecation to suggest using the ctypes module.


Modified:
   python/trunk/Modules/dlmodule.c

Modified: python/trunk/Modules/dlmodule.c
==============================================================================
--- python/trunk/Modules/dlmodule.c	(original)
+++ python/trunk/Modules/dlmodule.c	Sun May 11 03:09:32 2008
@@ -236,7 +236,7 @@
 	PyObject *m, *d, *x;
 
     if (PyErr_WarnPy3k("the dl module has been removed in "
-                       "Python 3.0", 2) < 0)
+                        "Python 3.0; use the ctypes module instead", 2) < 0)
         return;    
 
 	/* Initialize object type */


More information about the Python-checkins mailing list