summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-05-14 01:08:21 (GMT)
committerBrett Cannon <bcannon@gmail.com>2008-05-14 01:08:21 (GMT)
commit34721d56833932ccaaff6c6b0ff1bb9ffe8d20b4 (patch)
tree0aa85c5c429c88a01a73d5d57d343806eb10c1a1 /Modules
parentc72df3305f03859d23e006f892db90a78e02f5e0 (diff)
downloadcpython-34721d56833932ccaaff6c6b0ff1bb9ffe8d20b4.zip
cpython-34721d56833932ccaaff6c6b0ff1bb9ffe8d20b4.tar.gz
cpython-34721d56833932ccaaff6c6b0ff1bb9ffe8d20b4.tar.bz2
Deprecate al/AL for removal in 3.0.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/almodule.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/almodule.c b/Modules/almodule.c
index 0a45d2e..7f48fff 100644
--- a/Modules/almodule.c
+++ b/Modules/almodule.c
@@ -1994,6 +1994,10 @@ inital(void)
{
PyObject *m, *d, *x;
+ if (PyErr_WarnPy3k("the al module has been removed in "
+ "Python 3.0", 2) < 0)
+ return;
+
/* Create the module and add the functions */
m = Py_InitModule4("al", al_methods,
al_module_documentation,