summaryrefslogtreecommitdiffstats
path: root/Modules/fmmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/fmmodule.c')
-rw-r--r--Modules/fmmodule.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/fmmodule.c b/Modules/fmmodule.c
index 1f7edb6..f3f0dc5 100644
--- a/Modules/fmmodule.c
+++ b/Modules/fmmodule.c
@@ -257,6 +257,11 @@ static PyMethodDef fm_methods[] = {
void
initfm(void)
{
+
+ if (PyErr_WarnPy3k("the fm module has been removed in "
+ "Python 3.0", 2) < 0)
+ return;
+
Py_InitModule("fm", fm_methods);
if (m == NULL)
return;