Add warnings to and deprecated all those Mac modules

This commit is contained in:
Benjamin Peterson 2008-05-12 21:42:13 +00:00
parent f9b54c2411
commit 236819310d
59 changed files with 286 additions and 11 deletions

View file

@ -64,6 +64,9 @@ static char cp_module_documentation[] =
void initColorPicker(void)
{
PyObject *m;
if (PyErr_WarnPy3k("In 3.x, ColorPicker is removed.", 1) < 0)
return;
/* Create the module and add the functions */
m = Py_InitModule4("ColorPicker", cp_methods,