diff options
author | Georg Brandl <georg@python.org> | 2006-04-13 07:59:30 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2006-04-13 07:59:30 +0000 |
commit | 7f573f7319f070d47565a2a37d659611ee844dd5 (patch) | |
tree | 5454f88f387a7cd9eb1624c10a4d8cb412ac6521 /Python | |
parent | b1ed7fac12fe51080c06e518a9fcaa21f0734744 (diff) | |
download | cpython-git-7f573f7319f070d47565a2a37d659611ee844dd5.tar.gz |
Add a test for Py_ssize_t. Correct typo in getargs.c.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/getargs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/getargs.c b/Python/getargs.c index 8143d33eb0..e6f607a453 100644 --- a/Python/getargs.c +++ b/Python/getargs.c @@ -647,10 +647,10 @@ convertsimple(PyObject *arg, const char **p_format, va_list *p_va, int flags, Py_ssize_t *p = va_arg(*p_va, Py_ssize_t *); Py_ssize_t ival; if (float_argument_error(arg)) - return converterr("integer<i>", arg, msgbuf, bufsize); + return converterr("integer<n>", arg, msgbuf, bufsize); ival = PyInt_AsSsize_t(arg); if (ival == -1 && PyErr_Occurred()) - return converterr("integer<i>", arg, msgbuf, bufsize); + return converterr("integer<n>", arg, msgbuf, bufsize); *p = ival; break; } |