diff options
author | Guido van Rossum <guido@python.org> | 2002-08-14 18:38:27 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-08-14 18:38:27 (GMT) |
commit | 54df53a3522436e714ac6ea6f896bf790d31bc4e (patch) | |
tree | bccd10e1e90877f0068a3aa704827272ad146c3e /Objects/stringobject.c | |
parent | 29c2106465afdcb3f48f3ef6cca7660fa644764d (diff) | |
download | cpython-54df53a3522436e714ac6ea6f896bf790d31bc4e.zip cpython-54df53a3522436e714ac6ea6f896bf790d31bc4e.tar.gz cpython-54df53a3522436e714ac6ea6f896bf790d31bc4e.tar.bz2 |
More changes of DeprecationWarning to FutureWarning.
Diffstat (limited to 'Objects/stringobject.c')
-rw-r--r-- | Objects/stringobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/stringobject.c b/Objects/stringobject.c index a21e021..bf1c58e 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; |