diff options
| author | Thomas Wouters <thomas@python.org> | 2006-04-16 22:04:49 (GMT) |
|---|---|---|
| committer | Thomas Wouters <thomas@python.org> | 2006-04-16 22:04:49 (GMT) |
| commit | 715a4cdea2275d8a64f4556c45f89908ce5a0de6 (patch) | |
| tree | 340cff33d6f81ebd34df15dd598048a2e49369a9 /Objects/unicodeobject.c | |
| parent | 0db2a989f3b861eae80959d26dae9fcdac4dde96 (diff) | |
| download | cpython-715a4cdea2275d8a64f4556c45f89908ce5a0de6.zip cpython-715a4cdea2275d8a64f4556c45f89908ce5a0de6.tar.gz cpython-715a4cdea2275d8a64f4556c45f89908ce5a0de6.tar.bz2 | |
Use %zd instead of %i as format character (in call to PyErr_Format) for
Py_ssize_t argument.
Diffstat (limited to 'Objects/unicodeobject.c')
| -rw-r--r-- | Objects/unicodeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index f6996c7..292d02b 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -4219,7 +4219,7 @@ PyUnicode_Join(PyObject *separator, PyObject *seq) /* Convert item to Unicode. */ if (! PyUnicode_Check(item) && ! PyString_Check(item)) { PyErr_Format(PyExc_TypeError, - "sequence item %i: expected string or Unicode," + "sequence item %zd: expected string or Unicode," " %.80s found", i, item->ob_type->tp_name); goto onError; |
