mirror of https://github.com/python/cpython
Flesh out the 3.0 deprecation to suggest using the ctypes module.
This commit is contained in:
parent
a975cd446e
commit
7595c1a36b
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue