mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Add warnings to and deprecated all those Mac modules
This commit is contained in:
parent
f9b54c2411
commit
236819310d
59 changed files with 286 additions and 11 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue