[Python-3000-checkins] r58812 - python/branches/py3k-pep3137/Objects/longobject.c
guido.van.rossum
python-3000-checkins at python.org
Fri Nov 2 23:17:24 CET 2007
Author: guido.van.rossum
Date: Fri Nov 2 23:17:24 2007
New Revision: 58812
Modified:
python/branches/py3k-pep3137/Objects/longobject.c
Log:
Fix str8 reference in comment.
Modified: python/branches/py3k-pep3137/Objects/longobject.c
==============================================================================
--- python/branches/py3k-pep3137/Objects/longobject.c (original)
+++ python/branches/py3k-pep3137/Objects/longobject.c Fri Nov 2 23:17:24 2007
@@ -3477,7 +3477,7 @@
string = PyString_AS_STRING(x);
if (strlen(string) != size) {
/* We only see this if there's a null byte in x,
- x is a str8 or a bytes, *and* a base is given. */
+ x is a bytes or buffer, *and* a base is given. */
PyErr_Format(PyExc_ValueError,
"invalid literal for int() with base %d: %R",
base, x);
More information about the Python-3000-checkins
mailing list