]> granicus.if.org Git - python/commitdiff
Flesh out the 3.0 deprecation to suggest using the ctypes module.
authorBrett Cannon <bcannon@gmail.com>
Sun, 11 May 2008 01:09:32 +0000 (01:09 +0000)
committerBrett Cannon <bcannon@gmail.com>
Sun, 11 May 2008 01:09:32 +0000 (01:09 +0000)
Modules/dlmodule.c

index 112e6350e29484db0acd66ff344dea3acfb81f49..ccf1cb1835bbdda1f475f1abff97c1a3efe1d44f 100644 (file)
@@ -236,7 +236,7 @@ initdl(void)
        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 */