Deprecate DEVICE, GL, gl, and the related modules cgen and cgensupport for removal in 3.0.

This commit is contained in:
Brett Cannon 2008-05-15 02:33:55 +00:00
parent 3a1693a989
commit 044616aa24
8 changed files with 30 additions and 2 deletions

View file

@ -7624,5 +7624,10 @@ static struct PyMethodDef gl_methods[] = {
void
initgl(void)
{
if (PyErr_WarnPy3k("the gl module has been removed in "
"Python 3.0", 2) < 0)
return;
(void) Py_InitModule("gl", gl_methods);
}