summaryrefslogtreecommitdiff
path: root/Objects/unicodeobject.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
commit54df53a3522436e714ac6ea6f896bf790d31bc4e (patch)
treebccd10e1e90877f0068a3aa704827272ad146c3e /Objects/unicodeobject.c
parent29c2106465afdcb3f48f3ef6cca7660fa644764d (diff)
downloadcpython-git-54df53a3522436e714ac6ea6f896bf790d31bc4e.tar.gz
More changes of DeprecationWarning to FutureWarning.
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r--Objects/unicodeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index d0fe24c9dc..4ac12a0551 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -5338,7 +5338,7 @@ formatint(Py_UNICODE *buf,
if (x == -1 && PyErr_Occurred())
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;