summaryrefslogtreecommitdiffstats
path: root/Python/compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/compile.c')
-rw-r--r--Python/compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/compile.c b/Python/compile.c
index d1655e9..5b4e8e6 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -1158,7 +1158,7 @@ parsenumber(struct compiling *co, char *s)
x = (long) PyOS_strtoul(s, &end, 0);
if (x < 0 && errno == 0) {
if (PyErr_WarnExplicit(
- PyExc_DeprecationWarning,
+ PyExc_FutureWarning,
"hex/oct constants > sys.maxint "
"will return positive values "
"in Python 2.4 and up",