From b322e41d3672c465db3aca80419689f1902c6612 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Sun, 2 Dec 2007 14:31:20 +0000 Subject: Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h --- Python/errors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/errors.c') diff --git a/Python/errors.c b/Python/errors.c index 063187bf51..79f711dd83 100644 --- a/Python/errors.c +++ b/Python/errors.c @@ -752,7 +752,7 @@ PyErr_SyntaxLocation(const char *filename, int lineno) PyErr_NormalizeException(&exc, &v, &tb); /* XXX check that it is, indeed, a syntax error. It might not * be, though. */ - tmp = PyInt_FromLong(lineno); + tmp = PyLong_FromLong(lineno); if (tmp == NULL) PyErr_Clear(); else { -- cgit v1.2.1