mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Deprecate DEVICE, GL, gl, and the related modules cgen and cgensupport for removal in 3.0.
This commit is contained in:
parent
3a1693a989
commit
044616aa24
8 changed files with 30 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue