summaryrefslogtreecommitdiffstats
path: root/Doc/includes/shoddy.c
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/includes/shoddy.c')
-rw-r--r--Doc/includes/shoddy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/includes/shoddy.c b/Doc/includes/shoddy.c
index 07a4177..4c46bea 100644
--- a/Doc/includes/shoddy.c
+++ b/Doc/includes/shoddy.c
@@ -10,7 +10,7 @@ static PyObject *
Shoddy_increment(Shoddy *self, PyObject *unused)
{
self->state++;
- return PyInt_FromLong(self->state);
+ return PyLong_FromLong(self->state);
}