summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/OSATerminology.c
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules/OSATerminology.c')
-rw-r--r--Mac/Modules/OSATerminology.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mac/Modules/OSATerminology.c b/Mac/Modules/OSATerminology.c
index 85ad425..66fb969 100644
--- a/Mac/Modules/OSATerminology.c
+++ b/Mac/Modules/OSATerminology.c
@@ -89,5 +89,7 @@ static struct PyMethodDef OSATerminology_methods[] =
void
initOSATerminology(void)
{
+ if (PyErr_WarnPy3k("In 3.x, OSATerminology is removed.", 1) < 0)
+ return;
Py_InitModule("OSATerminology", OSATerminology_methods);
} \ No newline at end of file