From 09788a84f7311ea1a9189c2d727a2057897c8334 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 14 Aug 2002 18:38:27 +0000 Subject: More changes of DeprecationWarning to FutureWarning. --- Objects/stringobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Objects/stringobject.c') diff --git a/Objects/stringobject.c b/Objects/stringobject.c index a21e021d92..bf1c58eab2 100644 --- a/Objects/stringobject.c +++ b/Objects/stringobject.c @@ -3469,7 +3469,7 @@ formatint(char *buf, size_t buflen, int flags, return -1; } if (x < 0 && type != 'd' && type != 'i') { - if (PyErr_Warn(PyExc_DeprecationWarning, + if (PyErr_Warn(PyExc_FutureWarning, "%u/%o/%x/%X of negative int will return " "a signed string in Python 2.4 and up") < 0) return -1; -- cgit v1.2.1