mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
The CD and cd modules for IRIX are deprecated for 3.0.
This commit is contained in:
parent
0b6b5236ff
commit
ddf949f194
5 changed files with 16 additions and 1 deletions
|
@ -758,6 +758,10 @@ void
|
|||
initcd(void)
|
||||
{
|
||||
PyObject *m, *d;
|
||||
|
||||
if (PyErr_WarnPy3k("the cd module has been removed in "
|
||||
"Python 3.0", 2) < 0)
|
||||
return;
|
||||
|
||||
m = Py_InitModule("cd", CD_methods);
|
||||
if (m == NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue