summaryrefslogtreecommitdiff
path: root/Objects/stringobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-08-14 18:38:27 +0000
committerGuido van Rossum <guido@python.org>2002-08-14 18:38:27 +0000
commit09788a84f7311ea1a9189c2d727a2057897c8334 (patch)
tree80a3e45f03f750c3031917fda2fe5e2e66be1677 /Objects/stringobject.c
parent085279737d3a30904beed988aac3aa8dd60e2b5a (diff)
downloadcpython-09788a84f7311ea1a9189c2d727a2057897c8334.tar.gz
More changes of DeprecationWarning to FutureWarning.
Diffstat (limited to 'Objects/stringobject.c')
-rw-r--r--Objects/stringobject.c2
1 files changed, 1 insertions, 1 deletions
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;