summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/MacOS.c
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-04-03 16:41:20 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-04-03 16:41:20 (GMT)
commit920fd66ac6e723246baf6c3ed9f720675811bb15 (patch)
treef99e9ab8ddb72a3e6d0b4007287322575b1d30e8 /Mac/Modules/MacOS.c
parent0ccc7bbb34100c1de1b407da741db06fe76bc227 (diff)
downloadcpython-920fd66ac6e723246baf6c3ed9f720675811bb15.zip
cpython-920fd66ac6e723246baf6c3ed9f720675811bb15.tar.gz
cpython-920fd66ac6e723246baf6c3ed9f720675811bb15.tar.bz2
Ensure 'module removed' warning messages contain the word 'module' or 'package'.
This should fix the test_py3kwarn failure on OS X. test_support.import_module also requires this.
Diffstat (limited to 'Mac/Modules/MacOS.c')
-rw-r--r--Mac/Modules/MacOS.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Modules/MacOS.c b/Mac/Modules/MacOS.c
index bef7f88..19deb44 100644
--- a/Mac/Modules/MacOS.c
+++ b/Mac/Modules/MacOS.c
@@ -695,7 +695,7 @@ initMacOS(void)
{
PyObject *m, *d;
- if (PyErr_WarnPy3k("In 3.x, MacOS is removed.", 1))
+ if (PyErr_WarnPy3k("In 3.x, the MacOS module is removed.", 1))
return;
m = Py_InitModule("MacOS", MacOS_Methods);